wok-next view gpm/receipt @ rev 21403
updated php again (7.4.4 -> 7.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 21 10:28:30 2020 +0100 (2020-04-21) |
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 }