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