summaryrefslogtreecommitdiffstats
path: root/main/libidl
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:14:10 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:14:56 -0600
commita80649d3c585744a1310a06ec5cf836bb9ffbfd0 (patch)
tree2d1126f6a9da5f57a69c77e2eee2a053269f6891 /main/libidl
parentbbe84be64e92b157338136ee1e343a61c857b53e (diff)
downloadaports-a80649d3c585744a1310a06ec5cf836bb9ffbfd0.tar.bz2
aports-a80649d3c585744a1310a06ec5cf836bb9ffbfd0.tar.xz
testing/libidl: promote to main
Diffstat (limited to 'main/libidl')
-rw-r--r--main/libidl/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/libidl/APKBUILD b/main/libidl/APKBUILD
new file mode 100644
index 000000000..553d9bce8
--- /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"