wok-next annotate gnaughty/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children adda7152b270
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"
al@21020 6 SHORT_DESC="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@21017 14 BUILD_DEPENDS="curl-dev gtk2-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@21017 28 DEPENDS="curl gtk2 glib pcre libglade gconf"
pascal@12985 29 }