# HG changeset patch # User Christophe Lincoln # Date 1335178347 -7200 # Node ID b40b085ea0d4f2249cd1a6b2eb2f2271dde744fb # Parent bf0fdda3038d15e126a8062258aa1b57e7f48724 Add libatasmart (udisks dep) diff -r bf0fdda3038d -r b40b085ea0d4 libatasmart-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libatasmart-dev/receipt Mon Apr 23 12:52:27 2012 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="libatasmart-dev" +VERSION="0.18" +CATEGORY="development" +SHORT_DESC="The libatasmart devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="libatasmart" +WEB_SITE="http://0pointer.de/blog/projects/being-smart.html" + +DEPENDS="udev-dev" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/share/vala $fs/usr/share +} diff -r bf0fdda3038d -r b40b085ea0d4 libatasmart/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libatasmart/receipt Mon Apr 23 12:52:27 2012 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="libatasmart" +VERSION="0.18" +CATEGORY="system-tools" +SHORT_DESC="The libatasmart package is a disk reporting library." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://0pointer.de/blog/projects/being-smart.html" +WGET_URL="http://0pointer.de/public/$TARBALL" + +DEPENDS="udev" +BUILD_DEPENDS="udev-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --disable-static \ + $CONFIGURE_ARGS && + make && make 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 + cp -a $install/usr/sbin $fs/usr +}