# HG changeset patch # User Pascal Bellard # Date 1391428538 0 # Node ID baeb47f15a92cee177257b024da7ea21b0be866b # Parent 954af192f8fe35f29a95c4b55bc49cfbe261cf4b Add spl diff -r 954af192f8fe -r baeb47f15a92 spl-src/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spl-src/receipt Mon Feb 03 11:55:38 2014 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="spl-src" +VERSION="0.6.2" +CATEGORY="system-tools" +SHORT_DESC="Solaris Porting LAyer for ZFS, development files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://zfsonlinux.org/" +WANTED="spl" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/src $fs/usr +} diff -r 954af192f8fe -r baeb47f15a92 spl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spl/receipt Mon Feb 03 11:55:38 2014 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="spl" +VERSION="0.6.2" +CATEGORY="system-tools" +SHORT_DESC="Solaris Porting LAyer for ZFS." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://zfsonlinux.org/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://archive.zfsonlinux.org/downloads/zfsonlinux/$PACKAGE/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="linux-module-headers" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --with-linux=/usr/src/linux \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/lib $fs +}