wok-current view conspy/receipt @ rev 3000
slim: Fix pre_install func to backup config file (Thanks firmit)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 11 21:44:31 2009 +0200 (2009-05-11) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="conspy"
4 VERSION="1.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Remote control of Linux virtual consoles."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://ace-host.stuart.id.au/russell/files/$PACKAGE/"
10 WGET_URL="${WEB_SITE}$TARBALL"
11 DEPENDS="ncurses"
12 BUILD_DEPENDS="ncurses-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 }