wok-next view posixovl/receipt @ rev 19693

Add: gcr, oniguruma; remove: nano-doc; up: apr, fribidi, jasper, libgphoto2, libmtp, libunique, libwebp, nano, pcre, apr, apr-util, aspell*, glib-networking, gnutls, gsettings-desktop-schemas, gtk+, gtk+3, gvfs*, libexif, libfm, libgnutls, libmng, libraw, libsoup, libtasn1, libusb, libwebp, lxmenu-data, menu-cache, mysql, newt, p11-kit, pcre, popt, postgresql, slang, which
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 21 14:48:05 2017 +0300 (2017-04-21)
parents c9e270dd464f
children f463de72afe3
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 cook_copy_folders sbin
35 }