wok annotate snownews/receipt @ rev 9197
spidermonkey: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 10 11:24:48 2011 +0100 (2011-03-10) |
parents | f7a405298aaa |
children | eb4596c238ac |
rev | line source |
---|---|
paul@2048 | 1 # SliTaz package receipt. |
paul@2048 | 2 |
paul@2048 | 3 PACKAGE="snownews" |
paul@4405 | 4 VERSION="1.5.12" |
pascal@2054 | 5 CATEGORY="network" |
paul@2048 | 6 SHORT_DESC="Text mode RSS newsreader." |
paul@2048 | 7 MAINTAINER="paul@slitaz.org" |
pascal@5007 | 8 DEPENDS="libxml2 ncurses zlib libcrypto" |
paul@4405 | 9 BUILD_DEPENDS="zlib-dev libxml2-dev ncurses-dev gettext perl \ |
paul@4405 | 10 openssl-dev acl libcroco" |
paul@2048 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@2048 | 12 WEB_SITE="http://kiza.kcore.de/software/snownews/index.en" |
paul@2048 | 13 WGET_URL="http://kiza.kcore.de/software/snownews/download/$TARBALL" |
paul@2048 | 14 |
paul@2048 | 15 # Rules to configure and make the package. |
paul@2048 | 16 compile_rules() |
paul@2048 | 17 { |
paul@2048 | 18 cd $src |
paul@2048 | 19 ./configure --prefix=/usr && |
paul@2048 | 20 make && make DESTDIR=$PWD/_pkg install |
paul@2048 | 21 } |
paul@2048 | 22 |
paul@2048 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2048 | 24 genpkg_rules() |
paul@2048 | 25 { |
paul@2048 | 26 mkdir -p $fs/usr/share |
paul@2048 | 27 cp -a $_pkg/usr/bin $fs/usr |
paul@2048 | 28 cp -a $_pkg/usr/share/locale $fs/usr/share |
paul@2048 | 29 } |
paul@2048 | 30 |