wok view gnaughty/receipt @ rev 23625

gnaughty: update genpkg_rules
author Richard Dunbar <mojo@slitaz.org>
date Wed Apr 15 09:37:15 2020 -0400 (2020-04-15)
parents 76493155fc0a
children 932cd974e081
line source
1 # SliTaz package receipt.
3 PACKAGE="gnaughty"
4 VERSION="1.2.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Gnaughty is an utility to automatically download adult sex content."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://gnaughty.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="curl GConf glib gtk+ libglade pcre"
15 BUILD_DEPENDS="curl-dev GConf-dev glib-dev gtk+-dev libglade-dev pcre-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgthread-2.0"
21 sed -i 's|curl/types|curl/curl|' \
22 src/http.c
23 sed -i 's/test -z "\$(gladedir)".*/& || true/' \
24 src/Makefile.in
26 ./configure \
27 --prefix=/usr &&
28 make &&
29 make -j 1 install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share $fs/usr
39 }