wok-current view spl/receipt @ rev 24354
created recipe for py3k-dbus-1.2.18
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 15:11:19 2022 +0100 (2022-02-03) |
parents | 57d118eb479c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="spl"
4 VERSION="0.7.13"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/zfsonlinux/zfs/releases/download/zfs-$VERSION/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="linux-module-headers"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/zfs-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 --with-linux=/usr/src/linux \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 EXTRAVERSION="_${kvers}"
40 mkdir -p $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/lib $fs
44 }