wok-next diff xorg-xset/receipt @ rev 19734

Up cookutils(905) (v2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 27 16:29:45 2017 +0300 (2017-05-27)
parents 11bd286c39d2
children f463de72afe3
line diff
     1.1 --- a/xorg-xset/receipt	Sat Oct 24 23:56:53 2015 +0200
     1.2 +++ b/xorg-xset/receipt	Sat May 27 16:29:45 2017 +0300
     1.3 @@ -1,34 +1,36 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-xset"
     1.7 -VERSION="1.2.2"
     1.8 +VERSION="1.2.3"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Xorg user preference utility."
    1.11 +SHORT_DESC="User preference utility for X"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -SOURCE="xset"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://xorg.freedesktop.org/"
    1.17 +WEB_SITE="https://www.x.org/wiki/"
    1.18 +SUGGESTED="yad"
    1.19 +COOKOPTS="!menus"
    1.20 +
    1.21 +TARBALL="xset-$VERSION.tar.bz2"
    1.22  WGET_URL="$XORG_MIRROR/app/$TARBALL"
    1.23  
    1.24 -DEPENDS="xorg-libXmu"
    1.25 -BUILD_DEPENDS="xorg-libXmu-dev"
    1.26 -SUGGESTED="yad"
    1.27 +DEPENDS="xorg-libX11 xorg-libXext xorg-libXmu"
    1.28 +BUILD_DEPENDS="xorg-util-macros xorg-xproto xorg-libXmu-dev" # xxf86misc.pc xfontcache.pc?
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	cd $src
    1.34 -	./configure \
    1.35 -		$CONFIGURE_ARGS && \
    1.36 -	make && make DESTDIR=$DESTDIR install
    1.37 +	touch /root/missing
    1.38 +
    1.39 +	./configure $CONFIGURE_ARGS && make && make install
    1.40 +
    1.41 +	mkdir -p $install/usr/share/applications
    1.42 +	cp $stuff/*.desktop $install/usr/share/applications
    1.43 +	cp -a $stuff/xset-screensaver.sh $install/usr/bin
    1.44 +	chown -R root:root $install
    1.45  }
    1.46  
    1.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.48  genpkg_rules()
    1.49  {
    1.50 -	mkdir -p $fs/usr
    1.51 -	cp -a $install/usr/bin $fs/usr
    1.52 -	cp -a $stuff/xset-screensaver.sh $fs/usr/bin
    1.53 -	chmod 755 $fs/usr/bin/xset-screensaver.sh
    1.54 +	cook_copy_folders bin applications
    1.55  }