wok-next view gpm/receipt @ rev 21085
Up: bison (3.2.3), cmake (3.13.2), curl (7.63.0), dbus (1.12.12), dialog (1.3-20181107), doxygen (1.8.14), e2fsprogs (1.44.5), glib (2.58.2), grep (3.3), itstool (2.0.5), jansson (2.12), jbig2dec (0.15), libfm-extra (1.3.1), libfm (1.3.1), libgpg-error (1.33), libidn (1.35), libjpeg-turbo (2.0.1), libtirpc (1.1.4), libuv (1.24.1), opus (1.3), opusfile (0.11), pango (1.42.4), pangomm (2.42.0), pcmanfm (1.3.1), rpcbind (1.2.5), rpcsvc-proto (1.4), sed (4.7), tcl (8.6.9), tslib (1.18), wget (1.20), wpa_supplicant (2.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 25 19:30:28 2018 +0200 (2018-12-25) |
parents | a3c581bf52b8 |
children |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://www.nico.schottelius.org/software/gpm/"
11 TARBALL="$PACKAGE-$VERSION.tar.lzma"
12 WGET_URL="${WEB_SITE}archives/$TARBALL"
14 BUILD_DEPENDS="gawk bison ncurses-dev automake autoconf libtool texinfo"
15 SPLIT="$PACKAGE-extra $PACKAGE $PACKAGE-dev"
16 COOKOPTS="skip-log-errors"
18 compile_rules() {
19 sed -i 's|-Werror||' Makefile.include.in
21 ./autogen.sh
22 ln -s headers/gpm.h src # ???
24 ./configure $CONFIGURE_ARGS &&
25 make &&
26 make install || return 1
28 chmod a+x $install/usr/lib/*
29 install -Dm755 $stuff/etc/init.d/gpm $install/etc/init.d/gpm
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 gpm-extra)
35 copy bin/
36 CAT="misc|extra files"
37 DEPENDS="gpm"
38 ;;
39 gpm)
40 copy @std @rm
41 DEPENDS="ncurses"
42 ;;
43 gpm-dev)
44 copy @dev
45 ;;
46 esac
47 }
49 pre_remove_gpm() {
50 [ -n "$1" ] || /etc/init.d/gpm stop
51 }
53 post_install_gpm() {
54 [ -n "$1" -o -s /aufs-umount.sh ] || /etc/init.d/gpm start
55 }
57 # Just to be sure when cross-compiling.
58 testsuite() {
59 readelf -h $install/usr/bin/gpm-root
60 }