wok-6.x annotate spl/receipt @ rev 21211
scim: added build dependency libtool
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 09 16:39:57 2019 +0100 (2019-04-09) |
parents | e8609d0658d7 |
children | 57d118eb479c |
rev | line source |
---|---|
pascal@15875 | 1 # SliTaz package receipt. |
pascal@15875 | 2 |
pascal@15875 | 3 PACKAGE="spl" |
pascal@20284 | 4 VERSION="0.7.7" |
pascal@15875 | 5 CATEGORY="system-tools" |
pascal@15875 | 6 SHORT_DESC="Solaris Porting LAyer for ZFS." |
pascal@15875 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15875 | 8 LICENSE="GPL2" |
pascal@20669 | 9 WEB_SITE="https://zfsonlinux.org/" |
pascal@15875 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20284 | 11 WGET_URL="https://github.com/zfsonlinux/zfs/releases/download/zfs-$VERSION/$TARBALL" |
pascal@15875 | 12 |
pascal@15875 | 13 DEPENDS="" |
pascal@15875 | 14 BUILD_DEPENDS="linux-module-headers" |
pascal@15875 | 15 |
pascal@15875 | 16 # Rules to configure and make the package. |
pascal@15875 | 17 compile_rules() |
pascal@15875 | 18 { |
pascal@15875 | 19 ./configure --prefix=/usr \ |
pascal@15875 | 20 --mandir=/usr/share/man \ |
pascal@15875 | 21 --with-linux=/usr/src/linux \ |
pascal@15875 | 22 $CONFIGURE_ARGS && |
pascal@15875 | 23 make && |
pascal@15875 | 24 make DESTDIR=$DESTDIR install |
pascal@15875 | 25 } |
pascal@15875 | 26 |
pascal@15875 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15875 | 28 genpkg_rules() |
pascal@15875 | 29 { |
pascal@15877 | 30 EXTRAVERSION="_${kvers}" |
pascal@15875 | 31 mkdir -p $fs/usr |
pascal@15875 | 32 cp -a $install/usr/sbin $fs/usr |
pascal@15875 | 33 cp -a $install/lib $fs |
pascal@15875 | 34 } |