wok-current view gpm/receipt @ rev 21273
updated libplist and libplist-dev (1.4.0 -> 2.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 12 17:10:00 2019 +0100 (2019-04-12) |
parents | ed3853c1fdf0 |
children | af8d823a3077 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.nico.schottelius.org/software/gpm/"
11 WGET_URL="https://www.nico.schottelius.org/software/gpm/archives/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="gawk bison ncurses-dev automake autoconf libtool texinfo"
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 ./autogen.sh
27 ln -s headers/gpm.h src # ???
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 chmod a+x $fs/usr/lib/*
42 cp -a $stuff/* $fs
43 }
45 # Pre and post install commands for Tazpkg.
46 pre_remove()
47 {
48 [ -n "$1" ] || /etc/init.d/gpm stop
49 }
51 post_install()
52 {
53 [ -n "$1" -o -s /aufs-umount.sh ] || /etc/init.d/gpm start
54 }