wok view posixovl/receipt @ rev 16390

Up openssl (1.0.1g) with Heartbeat overflow fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 15 10:36:45 2014 +0000 (2014-04-15)
parents a07f343afac0
children c9e270dd464f
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="fuse attr"
14 BUILD_DEPENDS="autoconf automake fuse-dev attr-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mv $PACKAGE $src 2> /dev/null
20 cd $src
21 grep -q 'else if (!S_ISREG' posixovl.c ||
22 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
23 sed -i 's/cb->ll.size/0/' posixovl.c
24 sh autogen.sh
25 ./configure --prefix=/usr --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/sbin
34 cp $src/mount.posixovl $fs/usr/sbin
35 }