Skip to content

Commit 82a2d98

Browse files
theuniluke-jr
authored andcommitted
depends: Add ds_store to depends
1 parent de619a3 commit 82a2d98

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

depends/packages/native_biplist.mk

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package=native_biplist
2+
$(package)_version=0.9
3+
$(package)_download_path=https://pypi.python.org/packages/source/b/biplist
4+
$(package)_file_name=biplist-$($(package)_version).tar.gz
5+
$(package)_sha256_hash=b57cadfd26e4754efdf89e9e37de87885f9b5c847b2615688ca04adfaf6ca604
6+
$(package)_install_libdir=$(build_prefix)/lib/python/dist-packages
7+
8+
define $(package)_build_cmds
9+
python setup.py build
10+
endef
11+
12+
define $(package)_stage_cmds
13+
mkdir -p $($(package)_install_libdir) && \
14+
python setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir)
15+
endef
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package=native_ds_store
2+
$(package)_version=c80c23706eae
3+
$(package)_download_path=https://bitbucket.org/al45tair/ds_store/get
4+
$(package)_download_file=$($(package)_version).tar.bz2
5+
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
6+
$(package)_sha256_hash=ce1aa412211610c63d567bbe3e06213006a2d5ba5d76d89399c151b5472cb0da
7+
$(package)_install_libdir=$(build_prefix)/lib/python/dist-packages
8+
$(package)_dependencies=native_biplist
9+
10+
define $(package)_build_cmds
11+
python setup.py build
12+
endef
13+
14+
define $(package)_stage_cmds
15+
mkdir -p $($(package)_install_libdir) && \
16+
python setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir)
17+
endef

depends/packages/packages.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ wallet_packages=bdb
1515

1616
upnp_packages=miniupnpc
1717

18+
darwin_native_packages = native_biplist native_ds_store
19+
1820
ifneq ($(build_os),darwin)
19-
darwin_native_packages=native_cctools native_cdrkit native_libdmg-hfsplus
21+
darwin_native_packages += native_cctools native_cdrkit native_libdmg-hfsplus
2022
endif

0 commit comments

Comments
 (0)