wok-4.x annotate uget/receipt @ rev 6363
Up: xdelta to 3.0z.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 21 00:33:19 2010 +0000 (2010-09-21) |
parents | 698008aaaab1 |
children | 6026ed27d7ee |
rev | line source |
---|---|
devl547@6042 | 1 # SliTaz package receipt. |
devl547@6042 | 2 |
devl547@6042 | 3 PACKAGE="uget" |
devl547@6042 | 4 VERSION="1.6.0" |
slaxemulator@6147 | 5 CATEGORY="network" |
devl547@6042 | 6 SHORT_DESC="Download manager using gtk+ and libcurl" |
devl547@6042 | 7 DEPENDS="pcre glib curl gtk+" |
devl547@6042 | 8 BUILD_DEPENDS="pcre-dev glib-dev curl-dev gtk+-dev intltool" |
devl547@6042 | 9 MAINTAINER="devl547@gmail.com" |
devl547@6042 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
devl547@6042 | 11 WEB_SITE="http://urlget.sourceforge.net/" |
devl547@6042 | 12 WGET_URL="$SF_MIRROR/urlget/$TARBALL" |
devl547@6042 | 13 |
devl547@6042 | 14 # Rules to configure and make the package. |
devl547@6042 | 15 compile_rules() |
devl547@6042 | 16 { |
devl547@6042 | 17 cd $src |
devl547@6042 | 18 ./configure \ |
devl547@6042 | 19 --prefix=/usr \ |
devl547@6042 | 20 --sysconfdir=/etc \ |
devl547@6042 | 21 --disable-gstreamer \ |
devl547@6042 | 22 --disable-notify \ |
devl547@6042 | 23 $CONFIGURE_ARGS \ |
devl547@6042 | 24 LDFLAGS='-Wl,-O1 -Wl,--as-needed' && |
devl547@6042 | 25 make -j2 -s && |
devl547@6042 | 26 make DESTDIR=$PWD/_pkg install |
devl547@6042 | 27 } |
devl547@6042 | 28 |
devl547@6042 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@6042 | 30 genpkg_rules() |
devl547@6042 | 31 { |
devl547@6042 | 32 mkdir -p $fs/usr/share |
devl547@6042 | 33 cp -a $_pkg/usr/bin $fs/usr/ |
devl547@6042 | 34 cp -a $_pkg/usr/share/applications/ $fs/usr/share |
devl547@6042 | 35 cp -a $_pkg/usr/share/icons/ $fs/usr/share |
devl547@6042 | 36 cp -a $_pkg/usr/share/sounds/ $fs/usr/share |
devl547@6042 | 37 strip -s $fs/usr/bin/* |
devl547@6042 | 38 } |