aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-28 22:52:55 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-28 22:52:55 +0200
commit507a4bc9596f50dc28411eb341a6d2a4bd373da8 (patch)
tree03a9046369d2941b89e1efc358dfd06c3dcc7297 /main
parentffb4937cf40cb0c7b844085b2525818e1d7189f8 (diff)
downloadaports-507a4bc9596f50dc28411eb341a6d2a4bd373da8.tar.bz2
aports-507a4bc9596f50dc28411eb341a6d2a4bd373da8.tar.xz
main/libcdio-paranoia: improve abuild
Diffstat (limited to 'main')
-rw-r--r--main/libcdio-paranoia/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/libcdio-paranoia/APKBUILD b/main/libcdio-paranoia/APKBUILD
index 546e83aec2..c2e0cf694e 100644
--- a/main/libcdio-paranoia/APKBUILD
+++ b/main/libcdio-paranoia/APKBUILD
@@ -1,22 +1,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcdio-paranoia
pkgver=0.94_p1
-_ver=${pkgver/_p/+}
+_pkgver="10.2+${pkgver/_p/+}"
pkgrel=0
pkgdesc="CD paranoia on top of libcdio"
url="http://www.gnu.org/software/libcdio/"
arch="all"
license="GPLv2+ and LGPLv2+"
-depends=""
-depends_dev="libcdio-dev"
-makedepends="$depends_dev autoconf automake libtool"
+makedepends="libcdio-dev autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
-source="http://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+$_ver.tar.gz"
+source="http://ftp.gnu.org/gnu/libcdio/$pkgname-$_pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$_pkgver"
-builddir="$srcdir"/libcdio-paranoia-10.2+$_ver
prepare() {
default_prepare
- sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
+
+ cd "$builddir"
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
autoreconf -i
}