Receipt for package "tinyproxy"
# SliTaz package receipt. PACKAGE="tinyproxy" VERSION="1.11.1" CATEGORY="network" SHORT_DESC="A light-weight HTTP proxy daemon for POSIX operating systems." MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" WEB_SITE="https://tinyproxy.github.io/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/tinyproxy/tinyproxy/archive/$VERSION.tar.gz" BUILD_DEPENDS="automake" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { sed -i '/docs/d;/tests$/d;s|m4macros \\|m4macros|' Makefile.* export LDFLAGS="$LDFLAGS -lrt" ./autogen.sh && ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --localstatedir=/var \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR # Provide sane defaults sed -i -e '/^#Listen/a\Listen 127.0.0.1' \ -e 's|#PidFile "/var/run/tinyproxy/tinyproxy.pid"|PidFile "/var/run/tinyproxy.pid"|' \ "$DESTDIR/etc/tinyproxy/tinyproxy.conf" } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share mkdir -p $fs/etc/init.d cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/tinyproxy $fs/usr/share cp -a $install/etc/tinyproxy $fs/etc cp -a $stuff/tinyproxy $fs/etc/init.d }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)