Receipt for package "gnaughty"
# SliTaz package receipt. PACKAGE="gnaughty" VERSION="1.2.5" CATEGORY="utilities" SHORT_DESC="Gnaughty is an utility to automatically download adult sex content." MAINTAINER="devl547@gmail.com" LICENSE="GPL2" WEB_SITE="https://gnaughty.sourceforge.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="curl GConf glib gtk+ libglade pcre" BUILD_DEPENDS="curl-dev GConf-dev glib-dev gtk+-dev libglade-dev pcre-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/gnaughty/files/gnaughty-stable/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/gnaughty-||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgthread-2.0" sed -i 's|curl/types|curl/curl|' \ src/http.c sed -i 's/test -z "\$(gladedir)".*/& || true/' \ src/Makefile.in ./configure \ --prefix=/usr && make && make -j 1 install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr cp -a $install/usr/share $fs/usr }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)