wok-next annotate uget/receipt @ rev 10445
ario: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 25 03:14:19 2011 +0200 (2011-05-25) |
parents | acac501e1bff |
children | 3fa620c3d272 |
rev | line source |
---|---|
devl547@6042 | 1 # SliTaz package receipt. |
devl547@6042 | 2 |
devl547@6042 | 3 PACKAGE="uget" |
slaxemulator@8306 | 4 VERSION="1.6.2a" |
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 } |