diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-11 19:09:53 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-11 19:09:53 -0500 |
commit | cefa662a7de91641276a180631eb551084c8e9e2 (patch) | |
tree | 0ff80dac491e462db3cfa4ab2da817f45c74c24f /user/libidl | |
parent | 8417b18e7da1eea7a323e2abd0863d4cccfa2417 (diff) | |
download | packages-cefa662a7de91641276a180631eb551084c8e9e2.tar.gz packages-cefa662a7de91641276a180631eb551084c8e9e2.tar.bz2 packages-cefa662a7de91641276a180631eb551084c8e9e2.tar.xz packages-cefa662a7de91641276a180631eb551084c8e9e2.zip |
user/libidl: pull in, fix up
Diffstat (limited to 'user/libidl')
-rw-r--r-- | user/libidl/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/user/libidl/APKBUILD b/user/libidl/APKBUILD new file mode 100644 index 000000000..e3a95ff98 --- /dev/null +++ b/user/libidl/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=libidl +pkgver=0.8.14 +pkgrel=3 +pkgdesc="Library for parsing Interface Definition Language files" +url="https://www.gnome.org/" +arch="all" +options="!check" # No test suite. +license="LGPL-2.0-only" +depends= +makedepends="bison flex glib-dev" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="https://download.gnome.org/sources/libIDL/${pkgver%.*}/libIDL-$pkgver.tar.bz2" +builddir="$srcdir"/libIDL-$pkgver + +prepare() { + cd "$builddir" + update_config_sub + default_prepare +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="906dde087908acd64b209fe466a89ae52a6ea23601cb30092063a6e062b1b6640fc2d5f422efcdd52b2b36ce20e6c244da6205fde0bdcec787fe64058be7adac libIDL-0.8.14.tar.bz2" |