wok-6.x view posixovl/receipt @ rev 14255

Up: xine-ui (0.99.7)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 26 23:20:15 2013 +0100 (2013-03-26)
parents 404d32ff75a1
children 51a1ebbda768
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 grep -q 'else if (!S_ISREG' posixovl.c ||
21 sed -i 's/if (!S_ISREG/if (S_ISLNK(cb->ll.mode))\n\t\tcb->sb.st_size = strlen(cb->ll.target);\n\telse &/' posixovl.c
22 sed -i 's/cb->ll.size/0/' posixovl.c
23 sh autogen.sh
24 ./configure --prefix=/usr --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/sbin
33 cp $src/mount.posixovl $fs/usr/sbin
34 }