summaryrefslogtreecommitdiff
path: root/user/fts/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 05:44:49 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 05:44:49 +0000
commit73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e (patch)
treecdf90ca6b5cba988f77e9f1539f6add967a98e27 /user/fts/APKBUILD
parent43b362a34677898baa14d2c17e184bee43a0a66d (diff)
downloadpackages-73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e.tar.gz
packages-73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e.tar.bz2
packages-73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e.tar.xz
packages-73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e.zip
user/*: Modernise / fix syntax / deps / metadata
Diffstat (limited to 'user/fts/APKBUILD')
-rw-r--r--user/fts/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/fts/APKBUILD b/user/fts/APKBUILD
index 2864ee250..d75403d6a 100644
--- a/user/fts/APKBUILD
+++ b/user/fts/APKBUILD
@@ -7,6 +7,7 @@ pkgdesc="Provides the fts(3) functions, which are missing in musl libc"
url="https://github.com/pullmoll/musl-fts/"
arch="all"
license="BSD-3-Clause"
+depends=""
makedepends="automake autoconf libtool"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.zip::https://github.com/pullmoll/musl-fts/archive/v$pkgver.zip"
@@ -14,12 +15,10 @@ builddir="$srcdir/musl-$pkgname-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
./bootstrap.sh
}
build() {
- cd "$builddir"
CFLAGS=-fPIC ./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -31,12 +30,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/lib/pkgconfig