wok-next annotate gpm/receipt @ rev 6308
Up: gpm, gpm-dev, gpm-extra to 1.20.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 16 20:50:05 2010 +0000 (2010-09-16) |
parents | dbf873bf74a8 |
children | b304b521220c |
rev | line source |
---|---|
pascal@2193 | 1 # SliTaz package receipt. |
pascal@2193 | 2 |
pascal@2193 | 3 PACKAGE="gpm" |
slaxemulator@6308 | 4 VERSION="1.20.6" |
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" |
slaxemulator@6308 | 11 BUILD_DEPENDS="gawk bison" |
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 } |