wok-6.x annotate gpm/receipt @ rev 12810
readline: ARM want it :-) so we can cross compile bash
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 20 03:01:49 2012 +0200 (2012-05-20) |
parents | e8163fc4cb28 |
children | 601c59dca5bf |
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" |
slaxemulator@6318 | 9 WEB_SITE="http://unix.schottelius.org/$PACKAGE" |
slaxemulator@6318 | 10 WGET_URL="http://www.nico.schottelius.org/software/$PACKAGE/archives/$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 } |