wok-next diff xorg-imake/receipt @ rev 19884

libxklavier: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 07 14:53:11 2017 +0200 (2017-10-07)
parents d7cac426f075
children 757d032c55c7
line diff
     1.1 --- a/xorg-imake/receipt	Wed May 24 11:59:19 2017 +0200
     1.2 +++ b/xorg-imake/receipt	Sat Oct 07 14:53:11 2017 +0200
     1.3 @@ -1,32 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-imake"
     1.8  VERSION="1.0.7"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="X imake utility."
    1.11 +SHORT_DESC="X imake utility"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -SOURCE="imake"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://www.x.org/"
    1.17 +WEB_SITE="https://www.x.org/wiki/"
    1.18 +
    1.19 +TARBALL="imake-$VERSION.tar.bz2"
    1.20  WGET_URL="$XORG_MIRROR/util/$TARBALL"
    1.21  
    1.22 -DEPENDS="xorg-cf-files"
    1.23 -BUILD_DEPENDS="xorg-gccmakedep xorg-makedepend pkg-config xorg-xproto perl"
    1.24 +BUILD_DEPENDS="xorg-util-macros perl xorg-xproto"
    1.25 +PKG_RULE="std"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	./configure --prefix=/usr --mandir=/usr/share/man \
    1.31 -	$CONFIGURE_ARGS
    1.32 -	make
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 -	chmod +x $DESTDIR/usr/bin/*
    1.35 +	./configure \
    1.36 +		--sysconfdir=/etc \
    1.37 +		--localstatedir=/var \
    1.38 +		$CONFIGURE_ARGS &&
    1.39 +	make &&
    1.40 +	make install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 +	copy @std
    1.49 +	DEPENDS="xorg-cf-files"
    1.50  }