wok-6.x annotate posixovl/receipt @ rev 22628

updated dar (2.4.18 -> 2.6.7)
author Hans-G?nter Theisgen
date Mon Jan 13 07:45:07 2020 +0100 (2020-01-13)
parents aaa3fcf79cf3
children ee53899c6189
rev   line source
pascal@10913 1 # SliTaz package receipt.
pascal@10913 2
pascal@10913 3 PACKAGE="posixovl"
Hans-G?nter@21695 4 VERSION="1.3"
pascal@10913 5 CATEGORY="system-tools"
Hans-G?nter@21695 6 TAGS="filesystem"
Hans-G?nter@21695 7 SHORT_DESC="FUSE file system that provides POSIX functionality."
pascal@10913 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15375 9 LICENSE="GPL2"
Hans-G?nter@21695 10 WEB_SITE="https://sourceforge.net/projects/posixovl/"
Hans-G?nter@21695 11
pascal@11987 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@10913 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@10913 14
Hans-G?nter@21695 15 DEPENDS="attr fuse"
Hans-G?nter@21695 16 BUILD_DEPENDS="attr-dev autoconf automake fuse-dev"
pascal@10913 17
pascal@10913 18 # Rules to configure and make the package.
pascal@10913 19 compile_rules()
pascal@10913 20 {
al@17992 21 mv $PACKAGE $src 2>/dev/null
pascal@10913 22 cd $src
pascal@14245 23 grep -q 'else if (!S_ISREG' posixovl.c ||
pascal@14245 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
pascal@14245 25 sed -i 's/cb->ll.size/0/' posixovl.c
pascal@21489 26 sed -i 's|attr/xattr.h|sys/xattr.h|' posixovl.c configure*
Hans-G?nter@21695 27
pascal@10913 28 sh autogen.sh
Hans-G?nter@21695 29 ./configure \
Hans-G?nter@21695 30 --prefix=/usr \
Hans-G?nter@21695 31 --mandir=/usr/share/man \
Hans-G?nter@21695 32 $CONFIGURE_ARGS &&
pascal@10913 33 make
pascal@10913 34 }
pascal@10913 35
al@17992 36 # Rules to gen a SliTaz package suitable for Tazpkg.
al@17992 37 genpkg_rules()
pascal@10913 38 {
Hans-G?nter@21695 39 mkdir -p $fs/usr/sbin
Hans-G?nter@21695 40 mkdir -p $install/usr/share/man/man1
Hans-G?nter@21695 41
Hans-G?nter@21695 42 cp $src/mount.posixovl $fs/usr/sbin
Hans-G?nter@21695 43 cp $src/posixovl.1 $install/usr/share/man/man1
pascal@10913 44 }