wok-undigest rev 1105
Add zfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 03 12:16:06 2014 +0000 (2014-02-03) |
parents | 9863ddf18194 |
children | 152b8fe57620 |
files | zfs-dev/receipt zfs-src/receipt zfs/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zfs-dev/receipt Mon Feb 03 12:16:06 2014 +0000 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="zfs-dev" 1.7 +VERSION="0.6.2" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The native Linux kernel port of the ZFS filesystem, development files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="CDDL GPL2" 1.12 +WEB_SITE="http://zfsonlinux.org/" 1.13 +WANTED="zfs" 1.14 + 1.15 +DEPENDS="zfs" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/lib 1.21 + cp -a $install/usr/include $fs/usr 1.22 + cp -a $install/usr/share $fs/usr 1.23 + cp -a $install/usr/lib/lib*a $fs/usr/lib 1.24 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/zfs-src/receipt Mon Feb 03 12:16:06 2014 +0000 2.3 @@ -0,0 +1,18 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="zfs-src" 2.7 +VERSION="0.6.2" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="The native Linux kernel port of the ZFS filesystem, source files." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="CDDL GPL2" 2.12 +WEB_SITE="http://zfsonlinux.org/" 2.13 +WANTED="zfs" 2.14 + 2.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 +genpkg_rules() 2.17 +{ 2.18 +{ 2.19 + mkdir -p $fs/usr 2.20 + cp -a $install/usr/src $fs/usr 2.21 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/zfs/receipt Mon Feb 03 12:16:06 2014 +0000 3.3 @@ -0,0 +1,41 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="zfs" 3.7 +VERSION="0.6.2" 3.8 +CATEGORY="system-tools" 3.9 +SHORT_DESC="The native Linux kernel port of the ZFS filesystem." 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +LICENSE="CDDL GPL2" 3.12 +WEB_SITE="http://zfsonlinux.org/" 3.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.14 +WGET_URL="http://archive.zfsonlinux.org/downloads/zfsonlinux/$PACKAGE/$TARBALL" 3.15 + 3.16 +DEPENDS="util-linux-uuid zlib" 3.17 +BUILD_DEPENDS="linux-module-headers spl-src util-linux-uuid-dev" 3.18 + 3.19 +# Rules to configure and make the package. 3.20 +compile_rules() 3.21 +{ 3.22 + cd $src 3.23 + ./configure --prefix=/usr \ 3.24 + --sysconfdir=/etc \ 3.25 + --mandir=/usr/share/man \ 3.26 + --with-linux=/usr/src/linux \ 3.27 + --with-spl=/usr/src/spl-$VERSION \ 3.28 + $CONFIGURE_ARGS && 3.29 + make && 3.30 + make DESTDIR=$DESTDIR install 3.31 +} 3.32 + 3.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.34 +genpkg_rules() 3.35 +{ 3.36 + mkdir -p $fs/usr/lib 3.37 + cp -a $install/usr/sbin $fs/usr 3.38 + cp -a $install/usr/bin $fs/usr 3.39 + cp -a $install/usr/lib/lib*so* $fs/usr/lib 3.40 + cp -a $install/usr/lib/udev $fs/usr/lib 3.41 + cp -a $install/lib $fs 3.42 + cp -a $install/sbin $fs 3.43 + cp -a $install/etc $fs 3.44 +}