aboutsummaryrefslogtreecommitdiffstats
path: root/main/wavpack
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-09-16 00:11:46 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-09-21 08:31:42 +0000
commit5844383b9c590d6502ea788a8bd43f6737a77f52 (patch)
tree2ce08eb327f2cf157b5b6c2a182ce979a5a40f45 /main/wavpack
parent1515aa5ac729a42e29decdfa2536453a37ab4298 (diff)
downloadaports-5844383b9c590d6502ea788a8bd43f6737a77f52.tar.bz2
aports-5844383b9c590d6502ea788a8bd43f6737a77f52.tar.xz
main/wavpack: new apkbuild
(cherry picked from commit a80892b8dcbefd6ed71ed9eac2aa71d129f8f6c2)
Diffstat (limited to 'main/wavpack')
-rw-r--r--main/wavpack/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/wavpack/APKBUILD b/main/wavpack/APKBUILD
new file mode 100644
index 0000000000..1e39075555
--- /dev/null
+++ b/main/wavpack/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Carlo Landmeter
+# Maintainer:
+pkgname=wavpack
+pkgver=4.60.1
+pkgrel=0
+pkgdesc="Audio compression format with lossless, lossy, and hybrid compression modes"
+url="http://www.wavpack.com/"
+license="custom"
+depends=
+makedepends=
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2"
+
+_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 \
+ --enable-mmx \
+ --disable-static
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} || return 1
+ install -m644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
+}
+
+md5sums="7bb1528f910e4d0003426c02db856063 wavpack-4.60.1.tar.bz2"