wok annotate posixovl/receipt @ rev 11019
get-virtualbox: using https now...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 14 16:57:10 2011 +0200 (2011-10-14) |
parents | |
children | eb374ef371b3 |
rev | line source |
---|---|
pascal@10913 | 1 # SliTaz package receipt. |
pascal@10913 | 2 |
pascal@10913 | 3 PACKAGE="posixovl" |
pascal@10913 | 4 VERSION="1.1" |
pascal@10913 | 5 CATEGORY="system-tools" |
pascal@10913 | 6 SHORT_DESC="A modern equivalent of the UMSDOS." |
pascal@10913 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@10913 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@10913 | 9 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@10913 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@10913 | 11 |
pascal@10913 | 12 DEPENDS="fuse attr" |
pascal@10913 | 13 BUILD_DEPENDS="autoconf automake fuse-dev attr-dev" |
pascal@10913 | 14 |
pascal@10913 | 15 # Rules to configure and make the package. |
pascal@10913 | 16 compile_rules() |
pascal@10913 | 17 { |
pascal@10913 | 18 mv $PACKAGE $src 2> /dev/null |
pascal@10913 | 19 cd $src |
pascal@10913 | 20 sh autogen.sh |
pascal@10913 | 21 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@10913 | 22 $CONFIGURE_ARGS && |
pascal@10913 | 23 make |
pascal@10913 | 24 } |
pascal@10913 | 25 |
pascal@10913 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@10913 | 27 genpkg_rules() |
pascal@10913 | 28 { |
pascal@10913 | 29 mkdir -p $fs/usr/sbin |
pascal@10913 | 30 cp $src/mount.posixovl $fs/usr/sbin |
pascal@10913 | 31 } |
pascal@10913 | 32 |
pascal@10913 | 33 # Pre remove and post install commands for Tazpkg. |
pascal@10913 | 34 pre_remove() |
pascal@10913 | 35 { |
pascal@10913 | 36 sed -i '/^$PACKAGE$/d' $1/etc/filesystems |
pascal@10913 | 37 } |
pascal@10913 | 38 |
pascal@10913 | 39 post_install() |
pascal@10913 | 40 { |
pascal@10913 | 41 grep -qs ^$PACKAGE$ $1/etc/filesystems || \ |
pascal@10913 | 42 echo "$PACKAGE" >> $1/etc/filesystems |
pascal@10913 | 43 } |
pascal@10913 | 44 |