wok-next diff gpm/receipt @ rev 20821

perl-task-weaken: update $WGET_URL
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 14 00:03:13 2018 +0300 (2018-06-14)
parents 14cdf41afa35
children a3c581bf52b8
line diff
     1.1 --- a/gpm/receipt	Wed Mar 14 17:27:57 2018 +0200
     1.2 +++ b/gpm/receipt	Thu Jun 14 00:03:13 2018 +0300
     1.3 @@ -1,19 +1,20 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="gpm"
     1.7 -VERSION="1.99.7"
     1.8 +VERSION="1.20.7"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="Mouse server for console."
    1.11 +SHORT_DESC="Mouse server for console"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://www.nico.schottelius.org/software/gpm/"
    1.15  
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.lzma"
    1.18  WGET_URL="${WEB_SITE}archives/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS_arm=" "
    1.21  BUILD_DEPENDS="gawk bison ncurses-dev automake autoconf libtool texinfo"
    1.22 -SPLIT="gpm gpm-dev gpm-extra"
    1.23 +SPLIT="gpm-extra gpm gpm-dev"
    1.24 +COOKOPTS="skip-log-errors"
    1.25  
    1.26  compile_rules() {
    1.27  	sed -i 's|-Werror||' Makefile.include.in
    1.28 @@ -23,8 +24,8 @@
    1.29  	./configure $CONFIGURE_ARGS &&
    1.30  	make && make install || return 1
    1.31  
    1.32 -#	chmod a+x $install/usr/lib/*
    1.33 -	cp -a $stuff/* $install
    1.34 +	chmod a+x $install/usr/lib/*
    1.35 +	install -Dm755 $stuff/etc/init.d/gpm $install/etc/init.d/gpm
    1.36  }
    1.37  
    1.38  genpkg_rules() {
    1.39 @@ -53,6 +54,6 @@
    1.40  }
    1.41  
    1.42  # Just to be sure when cross-compiling.
    1.43 -testsuite_gpm_extra() {
    1.44 +testsuite() {
    1.45  	readelf -h $install/usr/bin/gpm-root
    1.46  }