wok-next view posixovl/receipt @ rev 20588
e4rat: fix packing
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 15:12:31 2018 +0300 (2018-04-14) |
parents | f463de72afe3 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://sourceforge.net/projects/posixovl/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="autoconf automake fuse2-dev attr-dev"
16 compile_rules() {
17 mv $PACKAGE $src 2>/dev/null
18 cd $src
19 grep -q 'else if (!S_ISREG' posixovl.c ||
20 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
21 sed -i 's/cb->ll.size/0/' posixovl.c
23 sh autogen.sh
24 ./configure $CONFIGURE_ARGS && make && make install
25 }
27 genpkg_rules() {
28 copy sbin/
29 DEPENDS="fuse2"
30 TAGS="filesystem"
31 }