wok-current view gnaughty/receipt @ rev 14590
drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 27 00:27:59 2013 +0000 (2013-05-27) |
parents | |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnaughty"
4 VERSION="1.2.4"
5 CATEGORY="utilities"
6 SHORT_DESC="Gnaughty is an utility to automatically download adult sex content."
7 MAINTAINER="devl547@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://gnaughty.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 BUILD_DEPENDS="curl-dev gtk+-dev glib-dev pcre-dev libglade-dev GConf-dev"
12 DEPENDS="curl gtk+ glib libpcre libglade GConf"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 export LDFLAGS="-Wl,--copy-dt-needed-entries -lgthread-2.0"
19 sed -i 's|curl/types|curl/curl|' src/http.c
20 ./configure --prefix=/usr &&
21 make && make -j 1 install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/share/ $fs/usr/
29 }