wok view spl/receipt @ rev 21709
ccid: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 08 10:39:23 2019 +0200 (2019-06-08) |
parents | e8609d0658d7 |
children | 57d118eb479c |
line source
1 # SliTaz package receipt.
3 PACKAGE="spl"
4 VERSION="0.7.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Solaris Porting LAyer for ZFS."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://zfsonlinux.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/zfsonlinux/zfs/releases/download/zfs-$VERSION/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="linux-module-headers"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr \
20 --mandir=/usr/share/man \
21 --with-linux=/usr/src/linux \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 EXTRAVERSION="_${kvers}"
31 mkdir -p $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/lib $fs
34 }