wok view posixovl/receipt @ rev 25234
updated python-routes (2.4.1 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:31:59 2022 +0100 (2022-07-13) |
parents | ee53899c6189 |
children | ad0bc3efbf37 |
line source
1 # SliTaz package receipt.
3 PACKAGE="posixovl"
4 VERSION="1.3"
5 CATEGORY="system-tools"
6 TAGS="filesystem"
7 SHORT_DESC="FUSE file system that provides POSIX functionality."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://sourceforge.net/projects/posixovl/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="attr fuse2"
16 BUILD_DEPENDS="attr-dev autoconf automake fuse2-dev"
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/posixovl-/!d;s|.*posixovl-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mv $PACKAGE $src 2>/dev/null
28 cd $src
29 grep -q 'else if (!S_ISREG' posixovl.c ||
30 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
31 sed -i 's/cb->ll.size/0/' posixovl.c
32 sed -i 's|attr/xattr.h|sys/xattr.h|' posixovl.c configure*
34 sh autogen.sh
35 ./configure \
36 --prefix=/usr \
37 --mandir=/usr/share/man \
38 $CONFIGURE_ARGS &&
39 make
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/sbin
46 mkdir -p $install/usr/share/man/man1
48 cp $src/mount.posixovl $fs/usr/sbin
49 cp $src/posixovl.1 $install/usr/share/man/man1
50 }