wok-6.x view spl/receipt @ rev 16831
Add system-tools-backends, liboobs.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 12 14:33:02 2014 +0300 (2014-07-12) |
parents | c9caaa19d909 |
children | 6fab3264ba87 |
line source
1 # SliTaz package receipt.
3 PACKAGE="spl"
4 VERSION="0.6.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Solaris Porting LAyer for ZFS."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://zfsonlinux.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://archive.zfsonlinux.org/downloads/zfsonlinux/$PACKAGE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="linux-module-headers"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 EXTRAVERSION="_${kvers}"
32 mkdir -p $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 cp -a $install/lib $fs
35 }
37 # Post install/remove commands for Tazpkg.
38 post_install()
39 {
40 echo "Processing post-install commands..."
41 chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz
42 }
44 post_remove()
45 {
46 echo "Processing post-remove commands..."
47 chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz
48 }