wok-next rev 8055

Add: libgudev 165 & extras in udev
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 20 23:48:24 2011 +0100 (2011-01-20)
parents 420025feef6c
children daa2159acc30
files libgudev-dev/receipt libgudev/receipt udev-dev/receipt udev/receipt udev/stuff/udev.conf
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libgudev-dev/receipt	Thu Jan 20 23:48:24 2011 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libgudev-dev"
     1.7 +VERSION="165"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="GObject-based wrapper library for libudev. (devel files)"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="udev udev-dev"
    1.12 +WANTED="udev"
    1.13 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib/pkgconfig $fs/usr/include $fs/usr/share
    1.19 +	cp -a $_pkg/lib/libgudev*a $fs/usr/lib
    1.20 +	cp -a $_pkg/lib/pkgconfig/gudev* $fs/usr/lib/pkgconfig
    1.21 +	cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share
    1.22 +	cp -a $_pkg/usr/include/gudev-1.0 $fs/usr/include
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libgudev/receipt	Thu Jan 20 23:48:24 2011 +0100
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libgudev"
     2.7 +VERSION="165"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="GObject-based wrapper library for libudev."
    2.10 +MAINTAINER="gokhlayeh@slitaz.org"
    2.11 +DEPENDS="udev"
    2.12 +WANTED="udev"
    2.13 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +genpkg_rules()
    2.17 +{
    2.18 +	mkdir -p $fs/usr/lib
    2.19 +	cp -a $_pkg/lib/libgudev*so* $fs/usr/lib
    2.20 +}
     3.1 --- a/udev-dev/receipt	Fri Jan 21 00:34:35 2011 +0100
     3.2 +++ b/udev-dev/receipt	Thu Jan 20 23:48:24 2011 +0100
     3.3 @@ -3,7 +3,7 @@
     3.4  PACKAGE="udev-dev"
     3.5  VERSION="165"
     3.6  CATEGORY="development"
     3.7 -SHORT_DESC="Udev devel file (libudev + libgudev)."
     3.8 +SHORT_DESC="Udev devel file (libudev)."
     3.9  MAINTAINER="pankso@slitaz.org"
    3.10  DEPENDS="udev"
    3.11  WANTED="udev"
    3.12 @@ -12,9 +12,9 @@
    3.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.14  genpkg_rules()
    3.15  {
    3.16 -	mkdir -p $fs/lib $fs/usr/lib/pkgconfig
    3.17 -	cp -a $_pkg/lib/*.a $fs/lib
    3.18 -	cp -a $_pkg/lib/pkgconfig/* $fs/usr/lib/pkgconfig
    3.19 +	mkdir -p $fs/lib $fs/usr/lib/pkgconfig $fs/usr/include
    3.20 +	cp -a $_pkg/lib/libudev*a $fs/lib
    3.21 +	cp -a $_pkg/lib/pkgconfig/libudev.pc $fs/usr/lib/pkgconfig
    3.22  	cp -a $_pkg/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig
    3.23 -	cp -a $_pkg/usr/include $fs/usr
    3.24 +	cp -a $_pkg/usr/include/libudev.h $fs/usr/include
    3.25  }
     4.1 --- a/udev/receipt	Fri Jan 21 00:34:35 2011 +0100
     4.2 +++ b/udev/receipt	Thu Jan 20 23:48:24 2011 +0100
     4.3 @@ -6,7 +6,8 @@
     4.4  CATEGORY="base-system"
     4.5  SHORT_DESC="Udev creat automaticly right devices in /dev."
     4.6  DEPENDS="glibc-base util-linux-ng-blkid"
     4.7 -BUILD_DEPENDS="$DEPENDS util-linux-ng-blkid-dev gperf pkg-config pciutils"
     4.8 +BUILD_DEPENDS="$DEPENDS util-linux-ng-blkid-dev gperf pkg-config pciutils \
     4.9 +acl-dev libgio-dev libgio gobject-introspection usbutils usbutils-dev"
    4.10  MAINTAINER="pankso@slitaz.org"
    4.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.12  WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
    4.13 @@ -15,7 +16,7 @@
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
    4.17 -	gzip -d /usr/share/misc/pci.ids.gz
    4.18 +	gzip -d -c /usr/share/misc/pci.ids.gz > /usr/share/pci.ids
    4.19  	cd $src
    4.20  	grep -qs 'define u8' extras/*_id/*.c ||
    4.21  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
    4.22 @@ -26,28 +27,22 @@
    4.23  		--sysconfdir=/etc \
    4.24  		--libexecdir=/lib/udev \
    4.25  		--with-rootlibdir=/lib \
    4.26 -		--enable-static \
    4.27 -		--disable-extras \
    4.28 -		--disable-introspection \
    4.29  		$CONFIGURE_ARGS &&
    4.30  	make &&
    4.31  	make DESTDIR=$PWD/_pkg install &&
    4.32 -	gzip /usr/share/misc/pci.ids
    4.33 +	rm /usr/share/pci.ids
    4.34  }
    4.35  
    4.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.37  genpkg_rules()
    4.38  {
    4.39 -	mkdir -p $fs/lib/firmware $fs/etc/udev $fs/usr \
    4.40 -		$fs/dev/.udev
    4.41 -	for dir in sbin etc lib
    4.42 -	do
    4.43 -		cp -a $_pkg/$dir $fs
    4.44 -	done
    4.45 +	mkdir -p $fs/lib/firmware $fs/usr $fs/dev/.udev
    4.46  
    4.47 -	# Remove -dev files
    4.48 -	rm -rf $fs/lib/*.*a
    4.49 -	rm -rf $fs/lib/pkgconfig
    4.50 +	cp -a $_pkg/sbin $fs
    4.51 +	cp -a $_pkg/etc $fs
    4.52 +	cp -a $_pkg/lib/libudev*so* $fs/lib
    4.53 +	cp -a $_pkg/lib/udev $fs/lib
    4.54 +	cp -a $_pkg/usr/lib $fs/usr
    4.55  
    4.56  	# Copy rules files to udev conf dir
    4.57  	mv -f $fs/lib/udev/rules.d $fs/etc/udev
     5.1 --- a/udev/stuff/udev.conf	Fri Jan 21 00:34:35 2011 +0100
     5.2 +++ b/udev/stuff/udev.conf	Thu Jan 20 23:48:24 2011 +0100
     5.3 @@ -26,4 +26,4 @@
     5.4  default_group="root"
     5.5  
     5.6  # udev_log - set to "yes" if you want logging, else "no"
     5.7 -udev_log="no"
     5.8 +udev_log="err"