wok-6.x view posixovl/receipt @ rev 18965
podofo: set FREETYPE_INCLUDE_DIR
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 10 19:10:25 2016 +0100 (2016-03-10) |
parents | 51a1ebbda768 |
children | d3d2872880f0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="posixovl"
4 VERSION="1.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="FUSE file system that provides POSIX functionality"
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"
12 TAGS="filesystem"
14 DEPENDS="fuse attr"
15 BUILD_DEPENDS="autoconf automake fuse-dev attr-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mv $PACKAGE $src 2>/dev/null
21 cd $src
22 grep -q 'else if (!S_ISREG' posixovl.c ||
23 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
24 sed -i 's/cb->ll.size/0/' posixovl.c
25 sh autogen.sh
26 ./configure --prefix=/usr --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/sbin
35 cp $src/mount.posixovl $fs/usr/sbin
36 }