diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-04-25 23:22:08 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-04-25 23:23:20 +0200 |
commit | a3c5ca45fd167876774fd2c0355f5c0f039dc73b (patch) | |
tree | 3fd35537749582d1e9ccad319273f5c59729a370 /unmaintained/dietlibc/APKBUILD | |
parent | 6c683fd50d86f9d2be49606130903abb06e6c114 (diff) | |
download | aports-a3c5ca45fd167876774fd2c0355f5c0f039dc73b.tar.bz2 aports-a3c5ca45fd167876774fd2c0355f5c0f039dc73b.tar.xz |
unmaintained/dietlibc: move from testing
Has been disabled since 2017 and since I didn't need it in the past
years I didn't get around to fix it. I might revive it from the dead at
some point though.
Diffstat (limited to 'unmaintained/dietlibc/APKBUILD')
-rw-r--r-- | unmaintained/dietlibc/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/dietlibc/APKBUILD b/unmaintained/dietlibc/APKBUILD new file mode 100644 index 0000000000..695a7994f8 --- /dev/null +++ b/unmaintained/dietlibc/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=dietlibc +pkgver=0.33 +pkgrel=3 +pkgdesc="a libc optimized for small size" +url="https://www.fefe.de/dietlibc/" +arch="" +license="GPL" +depends="dietlibc-dev" +depends_dev="" +makedepends="" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver +build() { + make prefix=/usr/$pkgname \ + -C "$_builddir" || return 1 +} + +package() { + make prefix=/usr/$pkgname 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" |