wok view gpm/receipt @ rev 9610
bash: Fixed bash pre_remove function to work with --root in tazpkg.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Apr 15 14:55:42 2011 +0000 (2011-04-15) |
parents | e8163fc4cb28 |
children | 601c59dca5bf |
line source
1 # SliTaz package receipt.
3 PACKAGE="gpm"
4 VERSION="1.20.6"
5 CATEGORY="misc"
6 SHORT_DESC="Mouse server for console."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://unix.schottelius.org/$PACKAGE"
10 WGET_URL="http://www.nico.schottelius.org/software/$PACKAGE/archives/$TARBALL"
11 BUILD_DEPENDS="gawk bison"
12 DEPENDS="ncurses"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a stuff/* $fs
30 }