diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-20 12:06:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-20 12:07:38 +0000 |
commit | bc442c79ebecb4d49d1210da19b89b8d15408019 (patch) | |
tree | f93d7e4498d87add5d3416a252b0d6b9159fc8ab /unmaintained/liboil/APKBUILD | |
parent | 775c979e806a60e981461e4f26b1e853df24738f (diff) | |
download | aports-bc442c79ebecb4d49d1210da19b89b8d15408019.tar.bz2 aports-bc442c79ebecb4d49d1210da19b89b8d15408019.tar.xz |
unmaintained/liboil: move from main
its dead upstream
Diffstat (limited to 'unmaintained/liboil/APKBUILD')
-rw-r--r-- | unmaintained/liboil/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/unmaintained/liboil/APKBUILD b/unmaintained/liboil/APKBUILD new file mode 100644 index 0000000000..40db892144 --- /dev/null +++ b/unmaintained/liboil/APKBUILD @@ -0,0 +1,42 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=liboil +pkgver=0.3.17 +pkgrel=7 +pkgdesc="Library of simple functions that are optimized for various CPUs." +url="https://liboil.freedesktop.org/" +arch="all" +license="BSD-2-Clause-NetBSD, BSD-3-Clause, Weird-Motorola-License" # FIXME +subpackages="$pkgname-dev $pkgname-doc" +depends= +source="http://$pkgname.freedesktop.org/download/$pkgname-$pkgver.tar.gz + fix-s390x-stamp.patch" + +prepare() { + cd "$builddir" + update_config_sub + default_prepare +} + +build() { + unset CFLAGS + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make -j1 DESTDIR="$pkgdir" install + install -m755 -d "$pkgdir"/usr/share/licenses/liboil + install -m644 COPYING "$pkgdir"/usr/share/licenses/liboil/ +} +sha512sums="26f60d37af8aae435ff17f2aa852a4e52cebd96ef7be04cb4dc14c61bc42160e333e317e5b33f05f6d4b6c819b15c4ecd1d4c03018515252daea26dd4ed60145 liboil-0.3.17.tar.gz +58bd22f90062bd87765734650bffa292e50b1a6744a74665a59f61ceaa8d0a668d48fe73b84fcaa0371dfa299a5715bd91e4f4699b1db8cb16ea09953b2bf45c fix-s390x-stamp.patch" |