wok annotate spl/receipt @ rev 15875

Add spl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 03 11:55:38 2014 +0000 (2014-02-03)
parents
children c9caaa19d909
rev   line source
pascal@15875 1 # SliTaz package receipt.
pascal@15875 2
pascal@15875 3 PACKAGE="spl"
pascal@15875 4 VERSION="0.6.2"
pascal@15875 5 CATEGORY="system-tools"
pascal@15875 6 SHORT_DESC="Solaris Porting LAyer for ZFS."
pascal@15875 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15875 8 LICENSE="GPL2"
pascal@15875 9 WEB_SITE="http://zfsonlinux.org/"
pascal@15875 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15875 11 WGET_URL="http://archive.zfsonlinux.org/downloads/zfsonlinux/$PACKAGE/$TARBALL"
pascal@15875 12
pascal@15875 13 DEPENDS=""
pascal@15875 14 BUILD_DEPENDS="linux-module-headers"
pascal@15875 15
pascal@15875 16 # Rules to configure and make the package.
pascal@15875 17 compile_rules()
pascal@15875 18 {
pascal@15875 19 cd $src
pascal@15875 20 ./configure --prefix=/usr \
pascal@15875 21 --mandir=/usr/share/man \
pascal@15875 22 --with-linux=/usr/src/linux \
pascal@15875 23 $CONFIGURE_ARGS &&
pascal@15875 24 make &&
pascal@15875 25 make DESTDIR=$DESTDIR install
pascal@15875 26 }
pascal@15875 27
pascal@15875 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15875 29 genpkg_rules()
pascal@15875 30 {
pascal@15875 31 mkdir -p $fs/usr
pascal@15875 32 cp -a $install/usr/sbin $fs/usr
pascal@15875 33 cp -a $install/lib $fs
pascal@15875 34 }