diff options
| author | Cory Fields <[email protected]> | 2014-07-23 01:31:30 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2014-08-08 15:10:46 -0400 |
| commit | 1dec09b341f61836147d87656aea7f7be02aab6d (patch) | |
| tree | bda4c72a414edf94b91537eb2fe9c6da5c6942b8 /depends/packages/native_libuuid.mk | |
| parent | Merge branch 'patch-4' of git://github.com/benhc123/bitcoin into merge-PR4653 (diff) | |
| download | discoin-1dec09b341f61836147d87656aea7f7be02aab6d.tar.xz discoin-1dec09b341f61836147d87656aea7f7be02aab6d.zip | |
depends: add shared dependency builder
See the README's in depends for documentation
Diffstat (limited to 'depends/packages/native_libuuid.mk')
| -rw-r--r-- | depends/packages/native_libuuid.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/depends/packages/native_libuuid.mk b/depends/packages/native_libuuid.mk new file mode 100644 index 000000000..b25540f80 --- /dev/null +++ b/depends/packages/native_libuuid.mk @@ -0,0 +1,24 @@ +package:=native_libuuid +$(package)_version=1.41.14 +$(package)_download_path=http://downloads.sourceforge.net/e2fsprogs +$(package)_file_name=e2fsprogs-libs-$($(package)_version).tar.gz +$(package)_sha256_hash=dbc7a138a3218d9b80a0626b5b692d76934d6746d8cbb762751be33785d8d9f5 + +define $(package)_set_vars +$(package)_config_opts=--disable-elf-shlibs --disable-uuidd +$(package)_cflags+=-m32 +$(package)_ldflags+=-m32 +$(package)_cxxflags+=-m32 +endef + +define $(package)_config_cmds + $($(package)_autoconf) +endef + +define $(package)_build_cmds + $(MAKE) -C lib/uuid +endef + +define $(package)_stage_cmds + $(MAKE) DESTDIR=$($(package)_staging_dir) -C lib/uuid install +endef |