wok-next annotate snownews/receipt @ rev 19018
Up mirror-tools, qemu-box, slitaz-mercurial-style, tazchroot, tazdev, tazwikiss, yaff (253)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 01 10:49:53 2016 +0200 (2016-04-01) |
parents | 3ba8d2c9720d |
children | 466bca9334ef |
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@15001 | 8 LICENSE="GPL2" |
pascal@15001 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15001 | 10 WEB_SITE="http://kiza.kcore.de/software/snownews/index.en" |
pascal@15001 | 11 WGET_URL="https://kiza.kcore.de/software/snownews/download/$TARBALL" |
pascal@15001 | 12 |
pascal@5007 | 13 DEPENDS="libxml2 ncurses zlib libcrypto" |
paul@4405 | 14 BUILD_DEPENDS="zlib-dev libxml2-dev ncurses-dev gettext perl \ |
pascal@12456 | 15 openssl-dev acl libcroco wget" |
paul@2048 | 16 |
paul@2048 | 17 # Rules to configure and make the package. |
paul@2048 | 18 compile_rules() |
paul@2048 | 19 { |
pascal@17673 | 20 sed -i 's|lncurses|& -ltinfo|' * |
paul@2048 | 21 ./configure --prefix=/usr && |
pascal@15001 | 22 make && make DESTDIR=$DESTDIR install |
paul@2048 | 23 } |
paul@2048 | 24 |
paul@2048 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2048 | 26 genpkg_rules() |
paul@2048 | 27 { |
paul@2048 | 28 mkdir -p $fs/usr/share |
pascal@15001 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15001 | 30 cp -a $install/usr/share/locale $fs/usr/share |
paul@2048 | 31 } |