wok-next view posixovl/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | 3a6b97ad0a64 |
children | 0e7893ac206d |
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 WEB_SITE="https://sourceforge.net/projects/posixovl/"
10 TAGS="filesystem"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="fuse"
16 BUILD_DEPENDS="autoconf automake fuse-dev attr-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mv $PACKAGE $src 2>/dev/null
22 cd $src
23 grep -q 'else if (!S_ISREG' posixovl.c ||
24 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
25 sed -i 's/cb->ll.size/0/' posixovl.c
27 sh autogen.sh
28 ./configure $CONFIGURE_ARGS && make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 copy sbin/
35 }