wok view posixovl/receipt @ rev 21600

Up: smplayer(19.5.0), xine-lib(1.2.9), xine-ui(0.99.10)
author maniac
date Thu May 23 12:16:28 2019 +0300 (2019-05-23)
parents d3d2872880f0
children b35f2c510937
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 sed -i 's|attr/xattr.h|sys/xattr.h|' posixovl.c configure*
26 sh autogen.sh
27 ./configure --prefix=/usr --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/sbin $install/usr/share/man/man1
36 cp $src/mount.posixovl $fs/usr/sbin
37 cp $src/posixovl.1 $install/usr/share/man/man1
38 }