summaryrefslogtreecommitdiff
path: root/user/libdmtx/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libdmtx/APKBUILD')
-rw-r--r--user/libdmtx/APKBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/user/libdmtx/APKBUILD b/user/libdmtx/APKBUILD
index ce8e9f442..1075dca3f 100644
--- a/user/libdmtx/APKBUILD
+++ b/user/libdmtx/APKBUILD
@@ -8,18 +8,16 @@ url="http://libdmtx.sourceforge.net/"
arch="all"
license="BSD-2-Clause"
depends=""
-makedepends=""
+makedepends="autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/dmtx/$pkgname/archive/v$pkgver.tar.gz"
prepare() {
- cd "$builddir"
default_prepare
./autogen.sh
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -32,13 +30,11 @@ build() {
}
check() {
- cd "$builddir"
make CFLAGS="-std=c99" check
test/simple_test/simple_test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}