wok view gpm/receipt @ rev 14429

fix openjpeg-dev, add openjpeg2, rebuild mupdf, move from undigest djvulibre, and finally add fbpdf-mupdf
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 24 14:06:49 2013 +0000 (2013-04-24)
parents bdd79429958e
children 380ffe05937a
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 chmod a+x $fs/usr/lib/*
41 cp -a $stuff/* $fs
42 }
44 # Pre and post install commands for Tazpkg.
45 pre_remove()
46 {
47 [ -n "$1" ] || /etc/init.d/gpm stop
48 }
50 post_install()
51 {
52 [ -n "$1" ] || /etc/init.d/gpm start
53 }