blob: 96bf37bd500d9ea6f7228a07902f546706d5d911 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
pkg:extract
cd */
# Build for host
./configure --prefix=${PWD}/host
make install
make distclean
export PATH="${PWD}/host/bin:${PATH}"
# Target
pkg:patch
autoconf
pkg:configure --enable-fastcgi --enable-opcache=yes \
--with-readline="$(PKG_DEST_ readline)/${PKG_TAPF}" \
--with-libxml-dir="${PKG_ROOT}/usr" \
--with-iconv-dir="${PKG_ROOT}/usr" \
--with-pcre-regex="$(PKG_DEST_ pcre2)/${PKG_TAPF}" \
--with-pcre-jit \
--with-bz2="${PKG_ROOT}/usr" \
LDFLAGS="-liconv -lresolv" EXTRA_LIBS="-liconv -lresolv"
pkg:make
pkg:install INSTALL_ROOT="${PKG_DEST}"
|