wok annotate uget/receipt @ rev 19984
Up tazusb (199)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 28 09:22:54 2017 +0200 (2017-06-28) |
parents | 4ff6f533fc73 |
children | efd3c9e9724f |
rev | line source |
---|---|
devl547@6042 | 1 # SliTaz package receipt. |
devl547@6042 | 2 |
devl547@6042 | 3 PACKAGE="uget" |
slaxemulator@15815 | 4 VERSION="1.10.4" |
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 |
slaxemulator@15817 | 13 DEPENDS="pcre glib curl gtk+3" |
slaxemulator@15817 | 14 BUILD_DEPENDS="pcre-dev glib-dev curl-dev gtk+3-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 \ |
slaxemulator@15817 | 25 --with-gtk3 \ |
devl547@6042 | 26 $CONFIGURE_ARGS \ |
devl547@6042 | 27 LDFLAGS='-Wl,-O1 -Wl,--as-needed' && |
devl547@6042 | 28 make -j2 -s && |
slaxemulator@12314 | 29 make DESTDIR=$DESTDIR install |
devl547@6042 | 30 } |
devl547@6042 | 31 |
devl547@6042 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@6042 | 33 genpkg_rules() |
devl547@6042 | 34 { |
devl547@6042 | 35 mkdir -p $fs/usr/share |
pascal@14996 | 36 cp -a $install/usr/bin $fs/usr/ |
pascal@14996 | 37 cp -a $install/usr/share/applications/ $fs/usr/share |
pascal@14996 | 38 cp -a $install/usr/share/icons/ $fs/usr/share |
pascal@14996 | 39 cp -a $install/usr/share/sounds/ $fs/usr/share |
devl547@6042 | 40 } |