wok annotate posixovl/receipt @ rev 17867

Add: redis
author Nathan Neulinger <nneul@neulinger.org>
date Thu Mar 26 01:23:05 2015 +0000 (2015-03-26)
parents a07f343afac0
children c9e270dd464f
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"
pascal@10913 6 SHORT_DESC="A modern equivalent of the UMSDOS."
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"
pascal@10913 12
pascal@10913 13 DEPENDS="fuse attr"
pascal@10913 14 BUILD_DEPENDS="autoconf automake fuse-dev attr-dev"
pascal@10913 15
pascal@10913 16 # Rules to configure and make the package.
pascal@10913 17 compile_rules()
pascal@10913 18 {
pascal@10913 19 mv $PACKAGE $src 2> /dev/null
pascal@10913 20 cd $src
pascal@14245 21 grep -q 'else if (!S_ISREG' posixovl.c ||
pascal@14245 22 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 23 sed -i 's/cb->ll.size/0/' posixovl.c
pascal@10913 24 sh autogen.sh
pascal@10913 25 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@10913 26 $CONFIGURE_ARGS &&
pascal@10913 27 make
pascal@10913 28 }
pascal@10913 29
pascal@10913 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@10913 31 genpkg_rules()
pascal@10913 32 {
pascal@10913 33 mkdir -p $fs/usr/sbin
pascal@10913 34 cp $src/mount.posixovl $fs/usr/sbin
pascal@10913 35 }