aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libamz/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2010-12-16 20:37:50 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2010-12-16 20:37:50 +0000
commit767da5c095ca6e59ae09f9625ad79efd0e63db02 (patch)
tree601ea089e9923618f12772bc249c5a68ff8c7779 /testing/libamz/APKBUILD
parentdb367263e1fa9a81ea8cc12aedf40128525a91ea (diff)
downloadaports-767da5c095ca6e59ae09f9625ad79efd0e63db02.tar.bz2
aports-767da5c095ca6e59ae09f9625ad79efd0e63db02.tar.xz
testing/libamz: new aport
Diffstat (limited to 'testing/libamz/APKBUILD')
-rw-r--r--testing/libamz/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/libamz/APKBUILD b/testing/libamz/APKBUILD
new file mode 100644
index 0000000000..67a0343cdb
--- /dev/null
+++ b/testing/libamz/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=libamz
+pkgver=0.0.2
+pkgrel=0
+pkgdesc="library and tools for accessing amazon mp3 download queues"
+url="http://nenolod.net/projects/libamz"
+arch="all"
+license="ISC"
+depends=
+makedepends="libgcrypt-dev libsoup-dev libxml2-dev gtk+-dev"
+install=
+subpackages="$pkgname-dev"
+source="http://nenolod.net/~nenolod/distfiles/$pkgname-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # workaround bug in busybox
+ sed -e "/touch/s/0001010000/200001010000/g" \
+ -i configure
+}
+
+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="fcecea69be7b62aa6d31b80b23e8f0db libamz-0.0.2.tar.bz2"