wok-6.x annotate snownews/receipt @ rev 20680
Down cdrtools (3.00)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 16:15:58 2019 +0100 (2019-01-26) |
parents | c7c3567bd8d4 |
children | b569b85b0fb9 |
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@20679 | 10 WEB_SITE="https://github.com/kouya/snownews" |
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 } |