wok diff gnaughty/receipt @ rev 13487

up git (1.7.12.3)
author Samuel Trassare <samuel_trassare@yahoo.com>
date Thu Oct 11 23:34:50 2012 +0000 (2012-10-11)
parents
children 380ffe05937a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnaughty/receipt	Thu Oct 11 23:34:50 2012 +0000
     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 +}