wok-next view gnaughty/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | f48456621a9d |
children | adda7152b270 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnaughty"
4 VERSION="1.2.4"
5 CATEGORY="utilities"
6 SHORT_DESC="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 BUILD_DEPENDS="curl-dev gtk2-dev glib-dev pcre-dev libglade-dev gconf-dev"
16 compile_rules() {
17 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgthread-2.0"
18 sed -i 's|curl/types|curl/curl|' src/http.c
19 sed -i 's/test -z "\$(gladedir)".*/& || true/' src/Makefile.in
21 ./configure --prefix=/usr &&
22 make &&
23 make -j1 install
24 }
26 genpkg_rules() {
27 copy @std
28 DEPENDS="curl gtk2 glib pcre libglade gconf"
29 }