wok-current annotate gpm/receipt @ rev 12821
gmp: dont build for ARM anymore...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 21 23:58:06 2012 +0200 (2012-05-21) |
parents | 601c59dca5bf |
children | 3bf8d473ac5d |
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" |
pankso@12816 | 9 WEB_SITE="http://www.nico.schottelius.org/software/gpm/" |
pankso@12816 | 10 WGET_URL="http://www.nico.schottelius.org/software/gpm/archives/$TARBALL" |
pankso@12821 | 11 #HOST_ARCH="i486 arm" |
pankso@12821 | 12 CROSS_BUGS="ld bug: undefined reference to 'stdscr' and 'wgetch'" |
pankso@12816 | 13 |
pankso@12816 | 14 DEPENDS="ncurses" |
slaxemulator@6308 | 15 BUILD_DEPENDS="gawk bison" |
pankso@12816 | 16 |
pankso@12816 | 17 # When cross compiling gawk and bison build system are used. |
pankso@12816 | 18 case "$ARCH" in |
pankso@12816 | 19 arm) BUILD_DEPENDS="" ;; |
pankso@12816 | 20 esac |
pascal@2193 | 21 |
pascal@2193 | 22 # Rules to configure and make the package. |
pascal@2193 | 23 compile_rules() |
pascal@2193 | 24 { |
pascal@2193 | 25 cd $src |
pankso@12816 | 26 ./configure \ |
pankso@12816 | 27 --prefix=/usr \ |
pankso@12816 | 28 --sysconfdir=/etc \ |
pankso@12816 | 29 $CONFIGURE_ARGS && |
pankso@12816 | 30 make && make install |
pascal@2193 | 31 } |
pascal@2193 | 32 |
pascal@2193 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2193 | 34 genpkg_rules() |
pascal@2193 | 35 { |
pascal@2193 | 36 mkdir -p $fs/usr/lib |
pankso@12816 | 37 cp -a $install/usr/sbin $fs/usr |
pankso@12816 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12816 | 39 cp -a $stuff/* $fs |
pascal@2193 | 40 } |