# HG changeset patch # User Pascal Bellard # Date 1356124021 -3600 # Node ID 6341d02298aea15c630fe042b7f12a5076942c69 # Parent 5b96796d9df5f6692478872566e5673bf9ce8df4 Add libacpi diff -r 5b96796d9df5 -r 6341d02298ae libacpi-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libacpi-dev/receipt Fri Dec 21 22:07:01 2012 +0100 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="libacpi-dev" +VERSION="0.2" +CATEGORY="development" +SHORT_DESC="General purpose library for ACPI, development files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.ngolde.de/libacpi.html" +WANTED="libacpi" +DEPENDS="libacpi" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/include $fs/usr +} diff -r 5b96796d9df5 -r 6341d02298ae libacpi/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libacpi/receipt Fri Dec 21 22:07:01 2012 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="libacpi" +VERSION="0.2" +CATEGORY="misc" +SHORT_DESC="General purpose library for ACPI." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.ngolde.de/libacpi.html" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://www.ngolde.de/download/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i 's|/local||' config.mk + make && make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*so* $fs/usr/lib +}