wok view uget/receipt @ rev 7674
Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Dec 16 17:16:06 2010 +0000 (2010-12-16) |
parents | 42dd86df598a |
children | acac501e1bff |
line source
1 # SliTaz package receipt.
3 PACKAGE="uget"
4 VERSION="1.6.1"
5 CATEGORY="network"
6 SHORT_DESC="Download manager using gtk+ and libcurl"
7 DEPENDS="pcre glib curl gtk+"
8 BUILD_DEPENDS="pcre-dev glib-dev curl-dev gtk+-dev intltool"
9 MAINTAINER="devl547@gmail.com"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://urlget.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/urlget/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --disable-gstreamer \
22 --disable-notify \
23 $CONFIGURE_ARGS \
24 LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
25 make -j2 -s &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr/
34 cp -a $_pkg/usr/share/applications/ $fs/usr/share
35 cp -a $_pkg/usr/share/icons/ $fs/usr/share
36 cp -a $_pkg/usr/share/sounds/ $fs/usr/share
37 strip -s $fs/usr/bin/*
38 }