wok-next view posixovl/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 0e7893ac206d
children 7fc972e95a2e
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 &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 copy sbin/
31 DEPENDS="fuse2"
32 TAGS="filesystem"
33 }