wok annotate npush/receipt @ rev 23100
updated libsearpc and libsearpc-dev (3.1.0 -> 3.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 12 09:06:50 2020 +0100 (2020-03-12) |
parents | 861efbf7a5de |
children | afae00265386 |
rev | line source |
---|---|
pascal@21729 | 1 # SliTaz package receipt. |
pascal@21729 | 2 |
pascal@21729 | 3 PACKAGE="npush" |
pascal@21729 | 4 VERSION="0.7" |
pascal@21729 | 5 CATEGORY="games" |
pascal@21729 | 6 SHORT_DESC="http://npush.sourceforge.net/" |
pascal@21729 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21729 | 8 LICENSE="GPL2" |
pascal@21729 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@21729 | 10 WEB_SITE="http://zsync.moria.org.uk/" |
pascal@21729 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
pascal@21729 | 12 |
pascal@21730 | 13 DEPENDS="ncurses" |
pascal@21730 | 14 BUILD_DEPENDS="ncurses-dev" |
pascal@21729 | 15 |
pascal@21729 | 16 # Rules to configure and make the package. |
pascal@21729 | 17 compile_rules() |
pascal@21729 | 18 { |
pascal@21729 | 19 sed -i 's|"levels|"/usr/share/npush|' npush.cpp |
pascal@21729 | 20 sed -i 's|-lncurses|& -ltinfo|' Makefile |
pascal@21729 | 21 make |
pascal@21729 | 22 } |
pascal@21729 | 23 |
pascal@21729 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21729 | 25 genpkg_rules() |
pascal@21729 | 26 { |
pascal@21729 | 27 mkdir -p $fs/usr/bin $fs/usr/share |
pascal@21729 | 28 cp -a $src/levels $fs/usr/share/npush |
pascal@21729 | 29 cp $src/npush $fs/usr/bin |
pascal@21729 | 30 } |