diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-12-31 13:36:17 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-01-19 12:24:48 +0000 |
commit | 84cc90c05731e8241761bd0c3451f865af29c8c0 (patch) | |
tree | ce69e12ad81ae2fae2720a8c3fa44831082df8e8 /testing/dietlibc | |
parent | 33736d97d6defd28c0434210c04b1267c20a300b (diff) | |
download | aports-84cc90c05731e8241761bd0c3451f865af29c8c0.tar.bz2 aports-84cc90c05731e8241761bd0c3451f865af29c8c0.tar.xz |
testing/dietlibc: new aport
Diffstat (limited to 'testing/dietlibc')
-rw-r--r-- | testing/dietlibc/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/dietlibc/APKBUILD b/testing/dietlibc/APKBUILD new file mode 100644 index 0000000000..756958fdea --- /dev/null +++ b/testing/dietlibc/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=dietlibc +pkgver=0.33 +pkgrel=0 +pkgdesc="a libc optimized for small size" +url="http://www.fefe.de/dietlibc/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver +build() { + make -C "$_builddir" || return 1 +} + +package() { + make prefix=/usr/diet DESTDIR="$pkgdir" \ + BINDIR=/usr/bin MAN1DIR=/usr/share/man/man1 \ + -C "$_builddir" install || return 1 + + local file + for file in AUTHOR BUGS CAVEAT CHANGES COPYING FAQ PORTING \ + README README.security SECURITY THANKS TODO; do + install -Dm644 "$_builddir"/$file \ + "$pkgdir"/usr/share/doc/$pkgname/$file || return 1 + done +} + +md5sums="9d541b9a6623b04ec12e5248b82db7c0 dietlibc-0.33.tar.bz2" +sha256sums="68838893790ddd7a42bc1a06e5435054e1dc1914e4b53d2d6c92f603d3b315f5 dietlibc-0.33.tar.bz2" +sha512sums="3e4cc8d9987a497adb2f777cbd578aa46a44f786a6ed86b0e2489d1f72ffd915920828b3dfb46d62d25f4b6a1cc2cbf7cc806ca0fe56ebc1af49152f5d4950a3 dietlibc-0.33.tar.bz2" |