blob: 508f84c40d998acf81c4260f82e6526fc35cbfdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/sh
MAKEDEPS="libtool"
DEPS="musl"
PKG_VER=1.2.7
SOURCE=https://github.com/pullmoll/musl-fts/archive/v$PKG_VER.tar.gz
DESC="Libraries implementing the set of fts functions missing in musl libc"
prepare () {
sed -i "/pkgconfig_DATA/i pkgconfigdir=/usr/lib/pkgconfig" Makefile.am
./bootstrap.sh
}
build () {
CFLAGS=" -fPIC" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
make
}
package () {
make DESTDIR=$PKG_DEST install
}
|