wok view npush/receipt @ rev 22013

updated tcpdump (4.4.0 -> 4.9.3)
author Hans-G?nter Theisgen
date Sat Oct 19 15:58:53 2019 +0100 (2019-10-19)
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 }