wok-next annotate uget/receipt @ rev 14996
Add LGPL2.1 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 11:00:21 2013 +0000 (2013-08-10) |
parents | 3fa620c3d272 |
children | 4ff6f533fc73 |
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 MAINTAINER="devl547@gmail.com" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
devl547@6042 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
devl547@6042 | 10 WEB_SITE="http://urlget.sourceforge.net/" |
devl547@6042 | 11 WGET_URL="$SF_MIRROR/urlget/$TARBALL" |
devl547@6042 | 12 |
pascal@14996 | 13 DEPENDS="pcre glib curl gtk+" |
pascal@14996 | 14 BUILD_DEPENDS="pcre-dev glib-dev curl-dev gtk+-dev intltool" |
pascal@14996 | 15 |
devl547@6042 | 16 # Rules to configure and make the package. |
devl547@6042 | 17 compile_rules() |
devl547@6042 | 18 { |
devl547@6042 | 19 cd $src |
devl547@6042 | 20 ./configure \ |
devl547@6042 | 21 --prefix=/usr \ |
devl547@6042 | 22 --sysconfdir=/etc \ |
devl547@6042 | 23 --disable-gstreamer \ |
devl547@6042 | 24 --disable-notify \ |
devl547@6042 | 25 $CONFIGURE_ARGS \ |
devl547@6042 | 26 LDFLAGS='-Wl,-O1 -Wl,--as-needed' && |
devl547@6042 | 27 make -j2 -s && |
slaxemulator@12314 | 28 make DESTDIR=$DESTDIR install |
devl547@6042 | 29 } |
devl547@6042 | 30 |
devl547@6042 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@6042 | 32 genpkg_rules() |
devl547@6042 | 33 { |
devl547@6042 | 34 mkdir -p $fs/usr/share |
pascal@14996 | 35 cp -a $install/usr/bin $fs/usr/ |
pascal@14996 | 36 cp -a $install/usr/share/applications/ $fs/usr/share |
pascal@14996 | 37 cp -a $install/usr/share/icons/ $fs/usr/share |
pascal@14996 | 38 cp -a $install/usr/share/sounds/ $fs/usr/share |
devl547@6042 | 39 } |