wok-6.x view gnaughty/receipt @ rev 19458

linux: CVE-2016-5195
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 21 17:33:56 2016 +0200 (2016-10-21)
parents 17e313b5b9c1
children 76493155fc0a
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gnaughty.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="curl-dev gtk+-dev glib-dev pcre-dev libglade-dev GConf-dev"
14 DEPENDS="curl gtk+ glib pcre libglade GConf"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgthread-2.0"
20 sed -i 's|curl/types|curl/curl|' src/http.c
21 sed -i 's/test -z "\$(gladedir)".*/& || true/' src/Makefile.in
22 ./configure --prefix=/usr &&
23 make && make -j 1 install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share/ $fs/usr/
31 }