wok-6.x view gpm/receipt @ rev 14789

Fix ownership and permissions for some files in some packages: adeskbar, ajaxterm, amsn, anacron, arora, asciiquarium, assaultcube-data, asterisk-sound-fr, asterisk-sound, attr-dev, attr, audacious, avidemux, awstats, bind-dev, binutils, blogotext, bootchart, btanks, bzip2-dev, c-client, cairo-dock.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 08 11:45:27 2013 +0300 (2013-07-08)
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 }