wok view spl/receipt @ rev 25617

Up codec2 (1.2.0), libpri (1.6.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 26 20:46:07 2023 +0000 (14 months ago)
parents 5ea0ce1cecc0
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/tag\//!d;/-rc[1-9]/d;s|.*tag/[a-z-]*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 --with-linux=/usr/src/linux \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 EXTRAVERSION="_${kvers}"
41 mkdir -p $fs/usr
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $install/lib $fs
45 }