wok-6.x annotate gnaughty/receipt @ rev 23058

Up claws-mail-perl (3.17.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 07 17:11:49 2020 +0100 (2020-03-07)
parents 4260fa3444db
children b8224321a8c3
rev   line source
pascal@12985 1 # SliTaz package receipt.
pascal@12985 2
pascal@12985 3 PACKAGE="gnaughty"
Hans-G?nter@22859 4 VERSION="1.2.5"
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"
Hans-G?nter@22859 9 WEB_SITE="http://gnaughty.sourceforge.net/"
Hans-G?nter@22859 10
pascal@12985 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@12985 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15000 13
Hans-G?nter@22859 14 DEPENDS="curl GConf glib gtk+ libglade pcre"
Hans-G?nter@22859 15 BUILD_DEPENDS="curl-dev GConf-dev glib-dev gtk+-dev libglade-dev pcre-dev"
pascal@12985 16
pascal@12985 17 # Rules to configure and make the package.
pascal@12985 18 compile_rules()
pascal@12985 19 {
pascal@17670 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgthread-2.0"
Hans-G?nter@22859 21 sed -i 's|curl/types|curl/curl|' \
Hans-G?nter@22859 22 src/http.c
Hans-G?nter@22859 23 sed -i 's/test -z "\$(gladedir)".*/& || true/' \
Hans-G?nter@22859 24 src/Makefile.in
Hans-G?nter@22859 25
Hans-G?nter@22859 26 ./configure \
Hans-G?nter@22859 27 --prefix=/usr &&
Hans-G?nter@22859 28 make &&
Hans-G?nter@22859 29 make -j 1 install
pascal@12985 30 }
pascal@12985 31
pascal@12985 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12985 33 genpkg_rules()
pascal@12985 34 {
Hans-G?nter@22859 35 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22859 36 cp -a $install/usr/share $fs/usr
pascal@12985 37 }