wok-next view posixovl/receipt @ rev 20442

linux-dev: fix defconfig for 32bit; refuse linux-uml on 32bit too because of compiling errors
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 10:43:01 2018 +0200 (2018-02-24)
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 }