git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@185
370017ae-e619-0410-ac65-
c121f96126d4
#!/bin/bash
#
-# slackbuild script for nano
+# slackbuild script for privoxy
# by rhatto at riseup.net
#
cd $PACKAGE-$VERSION-stable
if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
+ # 3.0.3 patch got from
+ # https://svn.openwrt.org/openwrt/trunk/openwrt/package/privoxy/patches/101-destdir.patch
patch -p1 < $CWD/$PACKAGE-$VERSION.diff
fi
autoheader
autoconf
-./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR
+./configure --prefix=/usr --sysconfdir=/etc/$PACKAGE --libdir=$LIBDIR
make
CWD="`pwd`"