wok-6.x annotate gpm/receipt @ rev 4481
linux: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 14 15:44:04 2009 +0100 (2009-11-14) |
parents | 1428395b4afe |
children | e8163fc4cb28 |
rev | line source |
---|---|
pascal@2193 | 1 # SliTaz package receipt. |
pascal@2193 | 2 |
pascal@2193 | 3 PACKAGE="gpm" |
pascal@2193 | 4 VERSION="1.20.5" |
pascal@2193 | 5 CATEGORY="misc" |
pascal@2193 | 6 SHORT_DESC="Mouse server for console." |
pascal@2193 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2193 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@2193 | 9 WEB_SITE="ftp://ftp.linux.it/pub/People/rubini/$PACKAGE" |
pascal@2193 | 10 WGET_URL="ftp://ftp.linux.it/pub/People/rubini/$PACKAGE/$TARBALL" |
pascal@2193 | 11 BUILD_DEPENDS="gawk" |
pascal@2484 | 12 DEPENDS="ncurses" |
pascal@2193 | 13 |
pascal@2193 | 14 # Rules to configure and make the package. |
pascal@2193 | 15 compile_rules() |
pascal@2193 | 16 { |
pascal@2193 | 17 cd $src |
pascal@2193 | 18 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS && |
pascal@2193 | 19 make && |
pascal@2193 | 20 make DESTDIR=$PWD/_pkg install |
pascal@2193 | 21 } |
pascal@2193 | 22 |
pascal@2193 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2193 | 24 genpkg_rules() |
pascal@2193 | 25 { |
pascal@2193 | 26 mkdir -p $fs/usr/lib |
pascal@2193 | 27 cp -a $_pkg/usr/sbin $fs/usr |
pascal@2193 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2193 | 29 cp -a stuff/* $fs |
pascal@2193 | 30 } |