wok-next annotate posixovl/receipt @ rev 20303
gnustep-back: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 11:17:33 2017 +0100 (2017-11-10) |
parents | 3a6b97ad0a64 |
children | 0e7893ac206d |
rev | line source |
---|---|
pascal@10913 | 1 # SliTaz package receipt. |
pascal@10913 | 2 |
pascal@10913 | 3 PACKAGE="posixovl" |
pascal@11987 | 4 VERSION="1.2" |
pascal@10913 | 5 CATEGORY="system-tools" |
al@17992 | 6 SHORT_DESC="FUSE file system that provides POSIX functionality" |
pascal@10913 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15375 | 8 LICENSE="GPL2" |
al@19663 | 9 WEB_SITE="https://sourceforge.net/projects/posixovl/" |
al@17992 | 10 TAGS="filesystem" |
pascal@10913 | 11 |
al@19663 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19663 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@19663 | 14 |
al@19663 | 15 DEPENDS="fuse" |
pascal@10913 | 16 BUILD_DEPENDS="autoconf automake fuse-dev attr-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 |
al@19663 | 26 |
pascal@10913 | 27 sh autogen.sh |
al@19663 | 28 ./configure $CONFIGURE_ARGS && make && make install |
pascal@10913 | 29 } |
pascal@10913 | 30 |
al@17992 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17992 | 32 genpkg_rules() |
pascal@10913 | 33 { |
al@19783 | 34 copy sbin/ |
pascal@10913 | 35 } |