wok annotate spl/receipt @ rev 16122

ARM: add audiofile and lcms
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 23 22:14:30 2014 +0100 (2014-03-23)
parents c9caaa19d909
children 6fab3264ba87
rev   line source
pascal@15875 1 # SliTaz package receipt.
pascal@15875 2
pascal@15875 3 PACKAGE="spl"
pascal@15875 4 VERSION="0.6.2"
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@15875 9 WEB_SITE="http://zfsonlinux.org/"
pascal@15875 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15875 11 WGET_URL="http://archive.zfsonlinux.org/downloads/zfsonlinux/$PACKAGE/$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 cd $src
pascal@15875 20 ./configure --prefix=/usr \
pascal@15875 21 --mandir=/usr/share/man \
pascal@15875 22 --with-linux=/usr/src/linux \
pascal@15875 23 $CONFIGURE_ARGS &&
pascal@15875 24 make &&
pascal@15875 25 make DESTDIR=$DESTDIR install
pascal@15875 26 }
pascal@15875 27
pascal@15875 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15875 29 genpkg_rules()
pascal@15875 30 {
pascal@15877 31 EXTRAVERSION="_${kvers}"
pascal@15875 32 mkdir -p $fs/usr
pascal@15875 33 cp -a $install/usr/sbin $fs/usr
pascal@15875 34 cp -a $install/lib $fs
pascal@15875 35 }
pascal@15876 36
pascal@15876 37 # Post install/remove commands for Tazpkg.
pascal@15876 38 post_install()
pascal@15876 39 {
pascal@15876 40 echo "Processing post-install commands..."
pascal@15876 41 chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz
pascal@15876 42 }
pascal@15876 43
pascal@15876 44 post_remove()
pascal@15876 45 {
pascal@15876 46 echo "Processing post-remove commands..."
pascal@15876 47 chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz
pascal@15876 48 }