wok view gpm/receipt @ rev 13952

xournal: up to 4.7
author ernia <monghitri@aruba.it>
date Tue Jan 29 21:53:31 2013 +0000 (2013-01-29)
parents 5ea9ca3cd82e
children 1e559c95d546
line source
1 # SliTaz package receipt.
3 PACKAGE="gpm"
4 VERSION="1.20.7"
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 ncurses-dev automake autoconf libtool texinfo"
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 ./autogen.sh
26 ln -s headers/gpm.h src # ???
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $stuff/* $fs
41 }
43 # Pre and post install commands for Tazpkg.
44 pre_remove()
45 {
46 [ -n "$1" ] || /etc/init.d/gpm stop
47 }
49 post_install()
50 {
51 [ -n "$1" ] || /etc/init.d/gpm start
52 }