wok-next rev 15875
Add spl
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 03 11:55:38 2014 +0000 (2014-02-03) |
parents | 954af192f8fe |
children | c9caaa19d909 |
files | spl-src/receipt spl/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/spl-src/receipt Mon Feb 03 11:55:38 2014 +0000 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="spl-src" 1.7 +VERSION="0.6.2" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Solaris Porting LAyer for ZFS, development files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://zfsonlinux.org/" 1.13 +WANTED="spl" 1.14 + 1.15 +DEPENDS="" 1.16 +BUILD_DEPENDS="" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + mkdir -p $fs/usr 1.22 + cp -a $install/usr/src $fs/usr 1.23 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/spl/receipt Mon Feb 03 11:55:38 2014 +0000 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="spl" 2.7 +VERSION="0.6.2" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="Solaris Porting LAyer for ZFS." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +WEB_SITE="http://zfsonlinux.org/" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WGET_URL="http://archive.zfsonlinux.org/downloads/zfsonlinux/$PACKAGE/$TARBALL" 2.15 + 2.16 +DEPENDS="" 2.17 +BUILD_DEPENDS="linux-module-headers" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + cd $src 2.23 + ./configure --prefix=/usr \ 2.24 + --mandir=/usr/share/man \ 2.25 + --with-linux=/usr/src/linux \ 2.26 + $CONFIGURE_ARGS && 2.27 + make && 2.28 + make DESTDIR=$DESTDIR install 2.29 +} 2.30 + 2.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.32 +genpkg_rules() 2.33 +{ 2.34 + mkdir -p $fs/usr 2.35 + cp -a $install/usr/sbin $fs/usr 2.36 + cp -a $install/lib $fs 2.37 +}