wok-next annotate liferea/receipt @ rev 15330
gnome-doc-utils-dev: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:01:47 2013 +0000 (2013-09-28) |
parents | 977fcec7f161 |
children | c00427f1c134 |
rev | line source |
---|---|
devl547@5627 | 1 # SliTaz package receipt. |
devl547@5627 | 2 |
devl547@5627 | 3 PACKAGE="liferea" |
domcox@14104 | 4 VERSION="1.8.12" |
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" |
pascal@15002 | 8 LICENSE="GPL2" |
domcox@14104 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
devl547@5627 | 10 WEB_SITE="http://liferea.sourceforge.net/" |
domcox@14104 | 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/Liferea%20Stable/$VERSION/$TARBALL" |
pascal@10533 | 12 |
domcox@14104 | 13 DEPENDS="gtk+ glib pango GConf libunique libxml2 libxslt sqlite libsoup libwebkit libnotify intltool gnutls json-glib" |
pascal@10533 | 14 BUILD_DEPENDS="gtk+-dev glib-dev pango-dev GConf GConf-dev ORBit2-dev \ |
pascal@10533 | 15 libunique-dev libxml2-dev libxslt-dev sqlite-dev libsoup-dev libwebkit-dev \ |
pascal@10533 | 16 libnotify-dev gnutls-dev json-glib-dev" |
devl547@5627 | 17 |
domcox@14104 | 18 LOCALES="da de es fr it pt_BR ru zh_CN" |
domcox@14104 | 19 |
devl547@5627 | 20 # Rules to configure and make the package. |
devl547@5627 | 21 compile_rules() |
devl547@5627 | 22 { |
devl547@5627 | 23 cd $src |
slaxemulator@10218 | 24 ./configure $CONFIGURE_ARGS \ |
devl547@5627 | 25 --enable-sm --disable-schemas-install --enable-libnotify && |
slaxemulator@9627 | 26 make && |
slaxemulator@10218 | 27 make install |
devl547@5627 | 28 } |
devl547@5627 | 29 |
devl547@5627 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5627 | 31 genpkg_rules() |
devl547@5627 | 32 { |
devl547@5627 | 33 mkdir -p $fs/usr/share/applications |
devl547@5627 | 34 mkdir $fs/usr/share/liferea |
devl547@5627 | 35 mkdir -p $fs/etc |
pascal@15002 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 37 cp -a $install/usr/etc/gconf $fs/etc |
pascal@15002 | 38 cp -a $install/usr/share/applications $fs/usr/share/ |
pascal@15002 | 39 cp -a $install/usr/share/icons $fs/usr/share/ |
pascal@15002 | 40 cp -a $install/usr/share/liferea $fs/usr/share/ |
domcox@14104 | 41 for locale in $LOCALES; do |
domcox@14104 | 42 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
domcox@14104 | 43 done |
domcox@14104 | 44 |
devl547@5627 | 45 } |