wok-6.x annotate spl/receipt @ rev 19371

ppp: remove pppnc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 09 11:46:12 2016 +0200 (2016-08-09)
parents 95fca5088310
children e8609d0658d7
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 ./configure --prefix=/usr \
pascal@15875 20 --mandir=/usr/share/man \
pascal@15875 21 --with-linux=/usr/src/linux \
pascal@15875 22 $CONFIGURE_ARGS &&
pascal@15875 23 make &&
pascal@15875 24 make DESTDIR=$DESTDIR install
pascal@15875 25 }
pascal@15875 26
pascal@15875 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15875 28 genpkg_rules()
pascal@15875 29 {
pascal@15877 30 EXTRAVERSION="_${kvers}"
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 }