wok annotate uget/receipt @ rev 14192
Up: emacs-lisp-sources (24.3)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 12 23:02:56 2013 +0100 (2013-03-12) |
parents | 02bbaa9d12ba |
children | 76b72f1ad63c |
rev | line source |
---|---|
devl547@6042 | 1 # SliTaz package receipt. |
devl547@6042 | 2 |
devl547@6042 | 3 PACKAGE="uget" |
slaxemulator@12314 | 4 VERSION="1.8.1" |
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 && |
slaxemulator@12314 | 26 make DESTDIR=$DESTDIR 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 } |