wok view gnaughty/receipt @ rev 22859

updated gnaughty (1.2.4 -> 1.2.5)
author Hans-G?nter Theisgen
date Thu Feb 20 14:50:56 2020 +0100 (8 months ago)
parents 4260fa3444db
children b8224321a8c3
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 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share $fs/usr
37 }