wok-next view posixovl/receipt @ rev 11168
ftgl: Clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 02 07:12:20 2011 +0000 (2011-11-02) |
parents | |
children | eb374ef371b3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="posixovl"
4 VERSION="1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="A modern equivalent of the UMSDOS."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
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 }