wok-6.x rev 12528

Up: libdrm (2.4.33) + clean receipt
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 10:04:32 2012 +0200 (2012-04-25)
parents e000ccc93a7b
children 33efedb07365
files libdrm-dev/receipt libdrm-intel/receipt libdrm-radeon/receipt libdrm/receipt
line diff
     1.1 --- a/libdrm-dev/receipt	Wed Apr 25 01:26:49 2012 +0200
     1.2 +++ b/libdrm-dev/receipt	Wed Apr 25 10:04:32 2012 +0200
     1.3 @@ -6,15 +6,15 @@
     1.4  SHORT_DESC="Lib DRM devel files."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  WEB_SITE="http://dri.freedesktop.org/"
     1.7 -DEPENDS="libdrm libdrm-intel libdrm-nouveau libdrm-radeon"
     1.8 +DEPENDS="libdrm libdrm-intel libdrm-radeon"
     1.9  WANTED="libdrm"
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12  genpkg_rules()
    1.13  {
    1.14  	mkdir -p $fs/usr/lib
    1.15 -	cp -a $_pkg/usr/include $fs/usr
    1.16 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.17 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.18 +	cp -a $install/usr/include $fs/usr
    1.19 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.20 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.21  }
    1.22  
     2.1 --- a/libdrm-intel/receipt	Wed Apr 25 01:26:49 2012 +0200
     2.2 +++ b/libdrm-intel/receipt	Wed Apr 25 10:04:32 2012 +0200
     2.3 @@ -13,5 +13,5 @@
     2.4  genpkg_rules()
     2.5  {
     2.6  	mkdir -p $fs/usr/lib
     2.7 -	cp -a $_pkg/usr/lib/libdrm_intel*.so* $fs/usr/lib
     2.8 +	cp -a $install/usr/lib/libdrm_intel*.so* $fs/usr/lib
     2.9  }
     3.1 --- a/libdrm-radeon/receipt	Wed Apr 25 01:26:49 2012 +0200
     3.2 +++ b/libdrm-radeon/receipt	Wed Apr 25 10:04:32 2012 +0200
     3.3 @@ -13,5 +13,5 @@
     3.4  genpkg_rules()
     3.5  {
     3.6  	mkdir -p $fs/usr/lib
     3.7 -	cp -a $_pkg/usr/lib/libdrm_radeon*.so* $fs/usr/lib
     3.8 +	cp -a $install/usr/lib/libdrm_radeon*.so* $fs/usr/lib
     3.9  }
     4.1 --- a/libdrm/receipt	Wed Apr 25 01:26:49 2012 +0200
     4.2 +++ b/libdrm/receipt	Wed Apr 25 10:04:32 2012 +0200
     4.3 @@ -1,36 +1,36 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="libdrm"
     4.7 -VERSION="2.4.25"
     4.8 +VERSION="2.4.33"
     4.9  CATEGORY="x-window"
    4.10  SHORT_DESC="Freedesktop DRM Library."
    4.11  MAINTAINER="pankso@slitaz.org"
    4.12 -DEPENDS="glibc-base udev linux-drm"
    4.13 -BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc gc-dev pkg-config udev-dev"
    4.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.15  WEB_SITE="http://dri.freedesktop.org/"
    4.16  WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL"
    4.17  
    4.18 +DEPENDS="glibc-base udev linux-drm xorg-libpciaccess"
    4.19 +BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc-dev pkg-config \
    4.20 +udev-dev xorg-libpciaccess-dev"
    4.21 +
    4.22  # Rules to configure and make the package.
    4.23  compile_rules()
    4.24 -{ 
    4.25 +{
    4.26  	cd $src
    4.27  	./configure \
    4.28 -    	--prefix=/usr \
    4.29 -    	--enable-intel \
    4.30 -	--enable-radeon \
    4.31 -	--enable-vmwgfx-experimental-api \
    4.32 -	--enable-nouveau-experimental-api \
    4.33 -	--enable-udev \
    4.34 -    	$CONFIGURE_ARGS &&
    4.35 -	make  &&
    4.36 -	make DESTDIR=$PWD/_pkg install
    4.37 +		--enable-intel \
    4.38 +		--enable-radeon \
    4.39 +		--enable-vmwgfx-experimental-api \
    4.40 +		--enable-nouveau-experimental-api \
    4.41 +		--enable-udev \
    4.42 +		$CONFIGURE_ARGS &&
    4.43 +	make && make install
    4.44  }
    4.45  
    4.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.47  genpkg_rules()
    4.48  {
    4.49  	mkdir -p $fs/usr/lib
    4.50 -	cp -a $_pkg/usr/lib/libdrm.so* $fs/usr/lib
    4.51 -	cp -a $_pkg/usr/lib/libkms*.so* $fs/usr/lib
    4.52 +	cp -a $install/usr/lib/libdrm.so* $fs/usr/lib
    4.53 +	cp -a $install/usr/lib/libkms*.so* $fs/usr/lib
    4.54  }