wok-6.x diff gnaughty/receipt @ rev 13017
Up: mplayer (1.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 08 21:03:58 2012 +0200 (2012-06-08) |
parents | |
children | 380ffe05937a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnaughty/receipt Fri Jun 08 21:03:58 2012 +0200 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gnaughty" 1.7 +VERSION="1.2.4" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Gnaughty is an utility to automatically download adult sex content." 1.10 +MAINTAINER="devl547@gmail.com" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://gnaughty.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 +BUILD_DEPENDS="curl-dev gtk+-dev glib-dev pcre-dev libglade-dev GConf-dev" 1.15 +DEPENDS="curl gtk+ glib libpcre libglade GConf" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + export LDFLAGS="-Wl,--copy-dt-needed-entries -lgthread-2.0" 1.22 + sed -i 's|curl/types|curl/curl|' src/http.c 1.23 + ./configure --prefix=/usr && 1.24 + make && make -j 1 install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + cp -a $install/usr/bin $fs/usr 1.31 + cp -a $install/usr/share/ $fs/usr/ 1.32 +}