# HG changeset patch # User Pascal Bellard # Date 1391429766 0 # Node ID 6629b3eabf2d3f6cf39a3566a3f1eaa32b29f225 # Parent 9863ddf18194500495fec3301fdb63840f800925 Add zfs diff -r 9863ddf18194 -r 6629b3eabf2d zfs-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zfs-dev/receipt Mon Feb 03 12:16:06 2014 +0000 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="zfs-dev" +VERSION="0.6.2" +CATEGORY="development" +SHORT_DESC="The native Linux kernel port of the ZFS filesystem, development files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="CDDL GPL2" +WEB_SITE="http://zfsonlinux.org/" +WANTED="zfs" + +DEPENDS="zfs" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/share $fs/usr + cp -a $install/usr/lib/lib*a $fs/usr/lib +} diff -r 9863ddf18194 -r 6629b3eabf2d zfs-src/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zfs-src/receipt Mon Feb 03 12:16:06 2014 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="zfs-src" +VERSION="0.6.2" +CATEGORY="development" +SHORT_DESC="The native Linux kernel port of the ZFS filesystem, source files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="CDDL GPL2" +WEB_SITE="http://zfsonlinux.org/" +WANTED="zfs" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ +{ + mkdir -p $fs/usr + cp -a $install/usr/src $fs/usr +} diff -r 9863ddf18194 -r 6629b3eabf2d zfs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zfs/receipt Mon Feb 03 12:16:06 2014 +0000 @@ -0,0 +1,41 @@ +# SliTaz package receipt. + +PACKAGE="zfs" +VERSION="0.6.2" +CATEGORY="system-tools" +SHORT_DESC="The native Linux kernel port of the ZFS filesystem." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="CDDL GPL2" +WEB_SITE="http://zfsonlinux.org/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://archive.zfsonlinux.org/downloads/zfsonlinux/$PACKAGE/$TARBALL" + +DEPENDS="util-linux-uuid zlib" +BUILD_DEPENDS="linux-module-headers spl-src util-linux-uuid-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --with-linux=/usr/src/linux \ + --with-spl=/usr/src/spl-$VERSION \ + $CONFIGURE_ARGS && + 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/sbin $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/lib*so* $fs/usr/lib + cp -a $install/usr/lib/udev $fs/usr/lib + cp -a $install/lib $fs + cp -a $install/sbin $fs + cp -a $install/etc $fs +}