wok annotate gnaughty/receipt @ rev 23833

updated picard (1.4.0.5 -> 2.3.1)
author Hans-G?nter Theisgen
date Mon Jun 01 07:18:17 2020 +0100 (2020-06-01)
parents 76493155fc0a
children 932cd974e081
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 {
mojo@23625 35 mkdir -p $fs/usr
mojo@23625 36
Hans-G?nter@22859 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22859 38 cp -a $install/usr/share $fs/usr
pascal@12985 39 }