wok-next view gpm/receipt @ rev 12949

asterisk: dahdi needs tonezone
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 31 09:56:44 2012 +0200 (2012-05-31)
parents 5c1c1e5a76c6
children 411abd04eca0
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"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="gawk bison"
16 # When cross compiling gawk and bison build system are used.
17 case "$ARCH" in
18 arm) BUILD_DEPENDS="" ;;
19 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $stuff/* $fs
39 }