wok-6.x diff uget/receipt @ rev 6057

putty: Upgrade to 0.60-2010-08-03
author Matthew Sheets <rcx@zoominternet.net>
date Thu Aug 19 21:53:57 2010 +0000 (2010-08-19)
parents
children 42dd86df598a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/uget/receipt	Thu Aug 19 21:53:57 2010 +0000
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="uget"
     1.7 +VERSION="1.6.0"
     1.8 +CATEGORY="internet"
     1.9 +SHORT_DESC="Download manager using gtk+ and libcurl"
    1.10 +DEPENDS="pcre glib curl gtk+"
    1.11 +BUILD_DEPENDS="pcre-dev glib-dev curl-dev gtk+-dev intltool"
    1.12 +MAINTAINER="devl547@gmail.com"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://urlget.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/urlget/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--sysconfdir=/etc \
    1.24 +		--disable-gstreamer \
    1.25 +		--disable-notify \
    1.26 +		$CONFIGURE_ARGS \
    1.27 +		LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
    1.28 +	make -j2 -s &&
    1.29 +	make DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/share
    1.36 +	cp -a $_pkg/usr/bin $fs/usr/
    1.37 +	cp -a $_pkg/usr/share/applications/ $fs/usr/share
    1.38 +	cp -a $_pkg/usr/share/icons/ $fs/usr/share
    1.39 +	cp -a $_pkg/usr/share/sounds/ $fs/usr/share
    1.40 +	strip -s $fs/usr/bin/*
    1.41 +}