wok-6.x annotate uget/receipt @ rev 23592

created recipe for python-pbr
author Hans-G?nter Theisgen
date Wed Apr 08 11:05:31 2020 +0100 (2020-04-08)
parents 5533699cb28a
children 922f061231c2
rev   line source
devl547@6042 1 # SliTaz package receipt.
devl547@6042 2
devl547@6042 3 PACKAGE="uget"
Hans-G?nter@22073 4 VERSION="2.2.1"
slaxemulator@6147 5 CATEGORY="network"
Hans-G?nter@22073 6 SHORT_DESC="Download manager using gtk+ and libcurl."
devl547@6042 7 MAINTAINER="devl547@gmail.com"
pascal@14996 8 LICENSE="LGPL2.1"
Hans-G?nter@22073 9 WEB_SITE="https://ugetdm.com/"
Hans-G?nter@22073 10
devl547@6042 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
devl547@6042 12 WGET_URL="$SF_MIRROR/urlget/$TARBALL"
devl547@6042 13
Hans-G?nter@22073 14 DEPENDS="curl glib gtk+3 pcre"
Hans-G?nter@22073 15 BUILD_DEPENDS="curl-dev glib-dev gtk+3-dev intltool pcre-dev"
pascal@14996 16
devl547@6042 17 # Rules to configure and make the package.
devl547@6042 18 compile_rules()
devl547@6042 19 {
Hans-G?nter@22073 20 ./configure \
Hans-G?nter@22073 21 --prefix=/usr \
Hans-G?nter@22073 22 --sysconfdir=/etc \
Hans-G?nter@22073 23 --disable-gstreamer \
Hans-G?nter@22073 24 --disable-notify \
Hans-G?nter@22073 25 --with-gtk3 \
Hans-G?nter@22073 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
Hans-G?nter@22073 36
Hans-G?nter@22073 37 cp -a $install/usr/bin $fs/usr/
Hans-G?nter@22073 38 cp -a $install/usr/share/applications/ $fs/usr/share
Hans-G?nter@22073 39 cp -a $install/usr/share/icons/ $fs/usr/share
Hans-G?nter@22073 40 cp -a $install/usr/share/sounds/ $fs/usr/share
devl547@6042 41 }