wok-current annotate gnaughty/receipt @ rev 19579
unetbootin: slitaz support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 14:13:20 2016 +0100 (2016-12-24) |
parents | 17e313b5b9c1 |
children | 76493155fc0a |
rev | line source |
---|---|
pascal@12985 | 1 # SliTaz package receipt. |
pascal@12985 | 2 |
pascal@12985 | 3 PACKAGE="gnaughty" |
pascal@12985 | 4 VERSION="1.2.4" |
pascal@12985 | 5 CATEGORY="utilities" |
pascal@12985 | 6 SHORT_DESC="Gnaughty is an utility to automatically download adult sex content." |
pascal@12985 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@12985 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@12985 | 10 WEB_SITE="http://gnaughty.sourceforge.net/" |
pascal@12985 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15000 | 12 |
pascal@12985 | 13 BUILD_DEPENDS="curl-dev gtk+-dev glib-dev pcre-dev libglade-dev GConf-dev" |
pascal@17482 | 14 DEPENDS="curl gtk+ glib pcre libglade GConf" |
pascal@12985 | 15 |
pascal@12985 | 16 # Rules to configure and make the package. |
pascal@12985 | 17 compile_rules() |
pascal@12985 | 18 { |
pascal@17670 | 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgthread-2.0" |
pascal@12985 | 20 sed -i 's|curl/types|curl/curl|' src/http.c |
pascal@18434 | 21 sed -i 's/test -z "\$(gladedir)".*/& || true/' src/Makefile.in |
pascal@12985 | 22 ./configure --prefix=/usr && |
pascal@12985 | 23 make && make -j 1 install |
pascal@12985 | 24 } |
pascal@12985 | 25 |
pascal@12985 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12985 | 27 genpkg_rules() |
pascal@12985 | 28 { |
pascal@12985 | 29 cp -a $install/usr/bin $fs/usr |
pascal@12985 | 30 cp -a $install/usr/share/ $fs/usr/ |
pascal@12985 | 31 } |