wok view npush/receipt @ rev 24263

updated perl-time-hires (1.9760 -> 1.9764)
author Hans-G?nter Theisgen
date Sun Jan 02 10:20:35 2022 +0100 (2022-01-02)
parents 861efbf7a5de
children afae00265386
line source
1 # SliTaz package receipt.
3 PACKAGE="npush"
4 VERSION="0.7"
5 CATEGORY="games"
6 SHORT_DESC="http://npush.sourceforge.net/"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://zsync.moria.org.uk/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|"levels|"/usr/share/npush|' npush.cpp
20 sed -i 's|-lncurses|& -ltinfo|' Makefile
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share
28 cp -a $src/levels $fs/usr/share/npush
29 cp $src/npush $fs/usr/bin
30 }