wok annotate liferea/receipt @ rev 9069
squirrelmail-smallcal: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 14:43:55 2011 +0100 (2011-03-04) |
parents | c2f14c5b6d30 |
children | b1f81941f347 |
rev | line source |
---|---|
devl547@5627 | 1 # SliTaz package receipt. |
devl547@5627 | 2 |
devl547@5627 | 3 PACKAGE="liferea" |
devl547@5627 | 4 VERSION="1.7.4" |
devl547@5627 | 5 CATEGORY="utilities" |
devl547@5627 | 6 SHORT_DESC="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP support" |
devl547@5627 | 7 MAINTAINER="devl547@gmail.com" |
devl547@5627 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
devl547@5627 | 9 WEB_SITE="http://liferea.sourceforge.net/" |
devl547@5627 | 10 WGET_URL="http://downloads.sourceforge.net/project/liferea/Liferea%20Unstable/$VERSION/$TARBALL" |
devl547@5627 | 11 BUILD_DEPENDS="gtk+-dev glib-dev pango-dev GConf GConf-dev ORBit2-dev libunique-dev libxml2-dev libxslt-dev sqlite-dev libsoup-dev libwebkit-dev libnotify-dev gnutls-dev" |
gokhlayeh@5676 | 12 DEPENDS="gtk+ glib pango GConf libunique libxml2 libxslt sqlite libsoup libwebkit libnotify intltool gnutls" |
devl547@5627 | 13 |
devl547@5627 | 14 # Rules to configure and make the package. |
devl547@5627 | 15 compile_rules() |
devl547@5627 | 16 { |
devl547@5627 | 17 cd $src |
devl547@5627 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
devl547@5627 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS \ |
devl547@5627 | 20 --enable-sm --disable-schemas-install --enable-libnotify && |
devl547@5627 | 21 make -j4 && |
devl547@5627 | 22 make DESTDIR=$PWD/_pkg install |
devl547@5627 | 23 } |
devl547@5627 | 24 |
devl547@5627 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5627 | 26 genpkg_rules() |
devl547@5627 | 27 { |
devl547@5627 | 28 mkdir -p $fs/usr/share/applications |
devl547@5627 | 29 mkdir $fs/usr/share/liferea |
devl547@5627 | 30 mkdir -p $fs/etc |
devl547@5627 | 31 cp -a $_pkg/usr/bin $fs/usr |
devl547@5627 | 32 cp -a $_pkg/usr/etc $fs/etc |
devl547@5627 | 33 cp -a $_pkg/usr/share/applications $fs/usr/share/ |
devl547@5627 | 34 cp -a $_pkg/usr/share/icons $fs/usr/share/ |
devl547@5627 | 35 cp -a $_pkg/usr/share/liferea $fs/usr/share/ |
devl547@5627 | 36 } |