summaryrefslogtreecommitdiff
path: root/user/libdmtx/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-27 06:50:34 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-27 06:50:34 -0600
commitc7c0916fad338d4743257d0f05e357e9c0f1f670 (patch)
tree5a4b8d5ba4cd7a6b6a36aa22aa58bec657dae485 /user/libdmtx/APKBUILD
parent092ad87bd24b84b2539294bb00d7dde7c9d2ce23 (diff)
downloadpackages-c7c0916fad338d4743257d0f05e357e9c0f1f670.tar.gz
packages-c7c0916fad338d4743257d0f05e357e9c0f1f670.tar.bz2
packages-c7c0916fad338d4743257d0f05e357e9c0f1f670.tar.xz
packages-c7c0916fad338d4743257d0f05e357e9c0f1f670.zip
user/various libraries: modernise / fix syntax
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
}