wok-next diff xorg-libXdmcp/receipt @ rev 14604

Xorg marathon. Day 1. (Carefully check versions, (build-)depends, pretty-print receipts)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 31 00:58:07 2013 +0000 (2013-05-31)
parents aee0ab9b9f75
children 5ddb4d29b420
line diff
     1.1 --- a/xorg-libXdmcp/receipt	Wed Apr 25 00:02:21 2012 +0200
     1.2 +++ b/xorg-libXdmcp/receipt	Fri May 31 00:58:07 2013 +0000
     1.3 @@ -3,30 +3,34 @@
     1.4  PACKAGE="xorg-libXdmcp"
     1.5  VERSION="1.1.1"
     1.6  CATEGORY="x-window"
     1.7 -SHORT_DESC="Xorg server module."
     1.8 +SHORT_DESC="X Display Manager Control Protocol library"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10 -SOURCE="libXdmcp"
    1.11 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.12 +LICENSE="other"
    1.13  WEB_SITE="http://www.x.org/"
    1.14 +TARBALL="${PACKAGE#xorg-}-$VERSION.tar.bz2"
    1.15  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    1.16  
    1.17 -BUILD_DEPENDS="pkg-config xorg-xproto"
    1.18 +DEPENDS="glibc-base"
    1.19 +BUILD_DEPENDS="xorg-xproto"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25  	./configure \
    1.26  		--sysconfdir=/etc \
    1.27 -		--mandir=/usr/share/man \
    1.28  		--localstatedir=/var \
    1.29 -		$CONFIGURE_ARGS
    1.30 -	make && make install
    1.31 +		--disable-static \
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make &&
    1.34 +	make install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	mkdir -p $fs/usr/lib
    1.41 +	mkdir -p \
    1.42 +		$fs/usr/share/licenses \
    1.43 +		$fs/usr/lib
    1.44 +	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
    1.45  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46  }