wok-4.x annotate uget/receipt @ rev 7823

Add virtual package mysql_or_postgresql
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 26 11:36:56 2010 +0100 (2010-12-26)
parents 42dd86df598a
children acac501e1bff
rev   line source
devl547@6042 1 # SliTaz package receipt.
devl547@6042 2
devl547@6042 3 PACKAGE="uget"
slaxemulator@7370 4 VERSION="1.6.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 &&
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 strip -s $fs/usr/bin/*
devl547@6042 38 }