wok annotate snownews/receipt @ rev 3537
tazbb: update package stats after each build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 22 17:21:55 2009 +0200 (2009-06-22) |
parents | 04d7a1b05213 |
children | f7a405298aaa |
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" |
pankso@3164 | 8 DEPENDS="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 |