wok annotate gpm/receipt @ rev 13473

Up: sysstat (10.0.5)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Oct 09 16:11:07 2012 +0200 (2012-10-09)
parents 5c1c1e5a76c6
children 411abd04eca0
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@12921 11 HOST_ARCH="i486 arm"
pankso@12816 12
pankso@12816 13 DEPENDS="ncurses"
slaxemulator@6308 14 BUILD_DEPENDS="gawk bison"
pankso@12816 15
pankso@12816 16 # When cross compiling gawk and bison build system are used.
pankso@12816 17 case "$ARCH" in
pankso@12816 18 arm) BUILD_DEPENDS="" ;;
pankso@12816 19 esac
pascal@2193 20
pascal@2193 21 # Rules to configure and make the package.
pascal@2193 22 compile_rules()
pascal@2193 23 {
pascal@2193 24 cd $src
pankso@12816 25 ./configure \
pankso@12816 26 --prefix=/usr \
pankso@12816 27 --sysconfdir=/etc \
pankso@12816 28 $CONFIGURE_ARGS &&
pankso@12816 29 make && make install
pascal@2193 30 }
pascal@2193 31
pascal@2193 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2193 33 genpkg_rules()
pascal@2193 34 {
pascal@2193 35 mkdir -p $fs/usr/lib
pankso@12816 36 cp -a $install/usr/sbin $fs/usr
pankso@12816 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12816 38 cp -a $stuff/* $fs
pascal@2193 39 }