wok annotate posixovl/receipt @ rev 21630
openjpeg2: modified WGET_URL
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 28 13:37:38 2019 +0100 (2019-05-28) |
parents | d3d2872880f0 |
children | b35f2c510937 |
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" |
pascal@11987 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@10913 | 10 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@10913 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@17992 | 12 TAGS="filesystem" |
pascal@10913 | 13 |
pascal@10913 | 14 DEPENDS="fuse attr" |
pascal@10913 | 15 BUILD_DEPENDS="autoconf automake fuse-dev attr-dev" |
pascal@10913 | 16 |
pascal@10913 | 17 # Rules to configure and make the package. |
pascal@10913 | 18 compile_rules() |
pascal@10913 | 19 { |
al@17992 | 20 mv $PACKAGE $src 2>/dev/null |
pascal@10913 | 21 cd $src |
pascal@14245 | 22 grep -q 'else if (!S_ISREG' posixovl.c || |
pascal@14245 | 23 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 | 24 sed -i 's/cb->ll.size/0/' posixovl.c |
pascal@21489 | 25 sed -i 's|attr/xattr.h|sys/xattr.h|' posixovl.c configure* |
pascal@10913 | 26 sh autogen.sh |
pascal@10913 | 27 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@10913 | 28 $CONFIGURE_ARGS && |
pascal@10913 | 29 make |
pascal@10913 | 30 } |
pascal@10913 | 31 |
al@17992 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17992 | 33 genpkg_rules() |
pascal@10913 | 34 { |
pascal@21472 | 35 mkdir -p $fs/usr/sbin $install/usr/share/man/man1 |
pascal@21472 | 36 cp $src/mount.posixovl $fs/usr/sbin |
pascal@21472 | 37 cp $src/posixovl.1 $install/usr/share/man/man1 |
pascal@10913 | 38 } |