wok-stable annotate snownews/receipt @ rev 3043
locale-*: Keep current config when on upgrade or install
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 12 23:24:55 2009 +0200 (2009-05-12) |
parents | 0d71947173a7 |
children | 45790f0c3d53 |
rev | line source |
---|---|
paul@2048 | 1 # SliTaz package receipt. |
paul@2048 | 2 |
paul@2048 | 3 PACKAGE="snownews" |
paul@2720 | 4 VERSION="1.5.11" |
pascal@2054 | 5 CATEGORY="network" |
paul@2048 | 6 SHORT_DESC="Text mode RSS newsreader." |
paul@2048 | 7 MAINTAINER="paul@slitaz.org" |
pascal@2441 | 8 DEPENDS="libiconv libxml2 ncurses zlib" |
paul@2048 | 9 BUILD_DEPENDS="zlib-dev libxml2-dev ncurses-dev gettext perl" |
paul@2048 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@2048 | 11 WEB_SITE="http://kiza.kcore.de/software/snownews/index.en" |
paul@2048 | 12 WGET_URL="http://kiza.kcore.de/software/snownews/download/$TARBALL" |
paul@2048 | 13 |
paul@2048 | 14 # Rules to configure and make the package. |
paul@2048 | 15 compile_rules() |
paul@2048 | 16 { |
paul@2048 | 17 cd $src |
paul@2048 | 18 ./configure --prefix=/usr && |
paul@2048 | 19 make && make DESTDIR=$PWD/_pkg install |
paul@2048 | 20 } |
paul@2048 | 21 |
paul@2048 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2048 | 23 genpkg_rules() |
paul@2048 | 24 { |
paul@2048 | 25 mkdir -p $fs/usr/share |
paul@2048 | 26 cp -a $_pkg/usr/bin $fs/usr |
paul@2048 | 27 cp -a $_pkg/usr/share/locale $fs/usr/share |
paul@2048 | 28 } |
paul@2048 | 29 |