diff options
Diffstat (limited to 'main/libidl/APKBUILD')
-rw-r--r-- | main/libidl/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/libidl/APKBUILD b/main/libidl/APKBUILD new file mode 100644 index 0000000000..553d9bce8a --- /dev/null +++ b/main/libidl/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=libidl +pkgver=0.8.14 +pkgrel=0 +pkgdesc="library for parsing Interface Definition Language files" +url="http://www.gnome.org/" +license="GPL" +arch="all" +depends= +depends_dev="glib-dev" +makedepends="${depends_dev} flex bison" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.gnome.org/pub/gnome/sources/libIDL/${pkgver%.*}/libIDL-$pkgver.tar.bz2" + +_builddir="$srcdir"/libIDL-$pkgver + +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="bb8e10a218fac793a52d404d14adedcb libIDL-0.8.14.tar.bz2" |