diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-16 00:01:19 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-21 08:29:43 +0000 |
commit | 24be1951a98b755e268c933bc8363dc7abf0162d (patch) | |
tree | 019736d091614450cc88d19c92c123b5f9166b92 | |
parent | 1df0011906f64c7c3d8efd0b048972a1a5f63c2c (diff) | |
download | aports-24be1951a98b755e268c933bc8363dc7abf0162d.tar.bz2 aports-24be1951a98b755e268c933bc8363dc7abf0162d.tar.xz |
main/libcdio: new apkbuild
(cherry picked from commit 9ba235eae5f51306c95780f79baba59061c202d9)
-rw-r--r-- | main/libcdio/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/libcdio/APKBUILD b/main/libcdio/APKBUILD new file mode 100644 index 000000000..dc7fbaa0d --- /dev/null +++ b/main/libcdio/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Carlo Landmeter +# Maintainer: +pkgname=libcdio +pkgver=0.82 +pkgrel=0 +pkgdesc="GNU Compact Disc Input and Control Library" +url="http://www.gnu.org/software/libcdio/" +license="GPL3" +depends= +makedepends="libcddb-dev ncurses-dev" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.gnu.org/gnu/libcdio/${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 \ + --disable-vcd-info \ + --enable-cpp-progs + make || return 1 +} + +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install +} + +md5sums="1c29b18e01ab2b966162bc727bf3c360 libcdio-0.82.tar.gz" |