wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="gpm"
4 VERSION="1.20.6"
5 CATEGORY="misc"
6 SHORT_DESC="Mouse server for console."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.nico.schottelius.org/software/gpm/"
10 WGET_URL="http://www.nico.schottelius.org/software/gpm/archives/$TARBALL"
11 #HOST_ARCH="i486 arm"
12 CROSS_BUGS="ld bug: undefined reference to 'stdscr' and 'wgetch'"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="gawk bison"
17 # When cross compiling gawk and bison build system are used.
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $stuff/* $fs
40 }