wok view spl/receipt @ rev 24123

Add Arkanoid
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 06 08:15:26 2021 +0000 (2021-10-06)
parents 57d118eb479c
children 0262035dc1e7
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 }