wok annotate posixovl/receipt @ rev 24482

updated diffutils (3.7 -> 3.8)
author Hans-G?nter Theisgen
date Fri Feb 18 14:45:09 2022 +0100 (2022-02-18)
parents b35f2c510937
children 72f2704d3ae0
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@24071 18 current_version()
pascal@24071 19 {
pascal@24071 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24071 21 sed '/posixovl-/!d;s|.*posixovl-||;s|.tar.*||;q'
pascal@24071 22 }
pascal@24071 23
pascal@10913 24 # Rules to configure and make the package.
pascal@10913 25 compile_rules()
pascal@10913 26 {
al@17992 27 mv $PACKAGE $src 2>/dev/null
pascal@10913 28 cd $src
pascal@14245 29 grep -q 'else if (!S_ISREG' posixovl.c ||
pascal@14245 30 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 31 sed -i 's/cb->ll.size/0/' posixovl.c
pascal@21489 32 sed -i 's|attr/xattr.h|sys/xattr.h|' posixovl.c configure*
Hans-G?nter@21695 33
pascal@10913 34 sh autogen.sh
Hans-G?nter@21695 35 ./configure \
Hans-G?nter@21695 36 --prefix=/usr \
Hans-G?nter@21695 37 --mandir=/usr/share/man \
Hans-G?nter@21695 38 $CONFIGURE_ARGS &&
pascal@10913 39 make
pascal@10913 40 }
pascal@10913 41
al@17992 42 # Rules to gen a SliTaz package suitable for Tazpkg.
al@17992 43 genpkg_rules()
pascal@10913 44 {
Hans-G?nter@21695 45 mkdir -p $fs/usr/sbin
Hans-G?nter@21695 46 mkdir -p $install/usr/share/man/man1
Hans-G?nter@21695 47
Hans-G?nter@21695 48 cp $src/mount.posixovl $fs/usr/sbin
Hans-G?nter@21695 49 cp $src/posixovl.1 $install/usr/share/man/man1
pascal@10913 50 }