wok-next view spl/receipt @ rev 20567
xfe: update receipt; qt5: undo `fix math`
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 11 01:07:35 2018 +0300 (2018-04-11) |
parents | d247e85339a4 |
children | 10df65db91ad |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="spl"
4 VERSION="0.7.3"
5 EXTRAVERSION="_$kvers"
6 CATEGORY="system-tools"
7 SHORT_DESC="Solaris Porting Layer for ZFS"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://zfsonlinux.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/zfsonlinux/zfs/releases/download/zfs-$VERSION/$TARBALL"
14 BUILD_DEPENDS="linux-module-headers xz"
15 SPLIT="spl-src"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 --mandir=/usr/share/man \
22 --with-linux=/usr/src/linux \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 spl)
33 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/lib $fs
36 ;;
37 spl-src)
38 CAT="system-tools|development files"
39 mkdir -p $fs/usr
40 cp -a $install/usr/src $fs/usr
41 ;;
42 esac
43 }