wok-next annotate gnaughty/receipt @ rev 20956

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 00:08:37 2018 +0300 (2018-09-05)
parents 4260fa3444db
children f48456621a9d
rev   line source
al@20956 1 # SliTaz package receipt v2.
pascal@12985 2
pascal@12985 3 PACKAGE="gnaughty"
pascal@12985 4 VERSION="1.2.4"
pascal@12985 5 CATEGORY="utilities"
pascal@12985 6 SHORT_DESC="Gnaughty is an utility to automatically download adult sex content."
pascal@12985 7 MAINTAINER="devl547@gmail.com"
pascal@15000 8 LICENSE="GPL2"
al@20956 9 WEB_SITE="http://gnaughty.sourceforge.net/"
al@20956 10
pascal@12985 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@12985 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15000 13
al@20956 14 BUILD_DEPENDS="curl-dev gtk+-dev glib-dev pcre-dev libglade-dev gconf-dev"
pascal@12985 15
al@20956 16 compile_rules() {
pascal@17670 17 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgthread-2.0"
pascal@12985 18 sed -i 's|curl/types|curl/curl|' src/http.c
pascal@18434 19 sed -i 's/test -z "\$(gladedir)".*/& || true/' src/Makefile.in
al@20956 20
pascal@12985 21 ./configure --prefix=/usr &&
al@20956 22 make &&
al@20956 23 make -j1 install
pascal@12985 24 }
pascal@12985 25
al@20956 26 genpkg_rules() {
al@20956 27 copy @std
al@20956 28 DEPENDS="curl gtk+ glib pcre libglade gconf"
pascal@12985 29 }