wok annotate conspy/receipt @ rev 9047
boxbackup-server: do not compute $_pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 09:06:40 2011 +0100 (2011-03-04) |
parents | |
children |
rev | line source |
---|---|
pascal@721 | 1 # SliTaz package receipt. |
pascal@721 | 2 |
pascal@721 | 3 PACKAGE="conspy" |
pascal@721 | 4 VERSION="1.5" |
pascal@721 | 5 CATEGORY="system-tools" |
pascal@721 | 6 SHORT_DESC="Remote control of Linux virtual consoles." |
pascal@721 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@721 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@721 | 9 WEB_SITE="http://ace-host.stuart.id.au/russell/files/$PACKAGE/" |
pascal@721 | 10 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@721 | 11 DEPENDS="ncurses" |
pascal@721 | 12 BUILD_DEPENDS="ncurses-dev" |
pascal@721 | 13 |
pascal@721 | 14 # Rules to configure and make the package. |
pascal@721 | 15 compile_rules() |
pascal@721 | 16 { |
pascal@721 | 17 cd $src |
pascal@721 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@721 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@721 | 20 make |
pascal@721 | 21 make DESTDIR=$PWD/_pkg install |
pascal@721 | 22 } |
pascal@721 | 23 |
pascal@721 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@721 | 25 genpkg_rules() |
pascal@721 | 26 { |
pascal@721 | 27 mkdir -p $fs/usr |
pascal@721 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@721 | 29 } |
pascal@721 | 30 |