aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmodplug
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-09-16 00:04:32 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-09-21 08:30:20 +0000
commit6eb1e644d37f9e461b1b330bbbf07aa6385a4d36 (patch)
treee4d65ba0d7f5291cd75d6f44c08467aad98302d9 /main/libmodplug
parent53e011a65f7cd81d460722b14f9510670876e064 (diff)
downloadaports-6eb1e644d37f9e461b1b330bbbf07aa6385a4d36.tar.bz2
aports-6eb1e644d37f9e461b1b330bbbf07aa6385a4d36.tar.xz
main/libmodplug: new apkbuild
(cherry picked from commit 9a7e3a83dbdab0d5d5f9b450c8ed89dd40d232df)
Diffstat (limited to 'main/libmodplug')
-rw-r--r--main/libmodplug/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/libmodplug/APKBUILD b/main/libmodplug/APKBUILD
new file mode 100644
index 0000000000..931c1e1f08
--- /dev/null
+++ b/main/libmodplug/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Carlo Landmeter
+# Maintainer:
+pkgname=libmodplug
+pkgver=0.8.8.1
+pkgrel=0
+pkgdesc="A MOD playing library"
+url="http://modplug-xmms.sourceforge.net/"
+license="custom"
+depends=
+makedepends=
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://downloads.sourceforge.net/modplug-xmms/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+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
+ install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+
+md5sums="f7fa53a60c650024ff51cca88341776b libmodplug-0.8.8.1.tar.gz"