wok-tiny annotate fuse/receipt @ rev 99

Add fuse, libpthread, librt, posixovl and some modules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 31 12:53:44 2015 +0100 (2015-10-31)
parents
children 1e55ea7da8de
rev   line source
pascal@99 1 # SliTaz package receipt.
pascal@99 2
pascal@99 3 PACKAGE="fuse"
pascal@99 4 VERSION="2.8.5"
pascal@99 5 CATEGORY="system-tools"
pascal@99 6 SHORT_DESC="Fuse Filsystem in user space."
pascal@99 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@99 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@99 9 WEB_SITE="http://fuse.sourceforge.net/"
pascal@99 10 [ -n "$TARGET" ] || TARGET="i486"
pascal@99 11 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET"
pascal@99 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@99 13 TAGS="filesystem"
pascal@99 14
pascal@99 15 DEPENDS="libpthread module-fuse"
pascal@99 16
pascal@99 17 # Rules to configure and make the package.
pascal@99 18 compile_rules()
pascal@99 19 {
pascal@99 20 export LDFLAGS="-lpthread"
pascal@99 21 ./configure --prefix=/usr --host=$TARGET-pc-linux-gnu \
pascal@99 22 --infodir=/usr/share/info --mandir=/usr/share/man \
pascal@99 23 CC=uclibc-$TARGET-cc &&
pascal@99 24 make &&
pascal@99 25 make DESTDIR=$DESTDIR install
pascal@99 26 }
pascal@99 27
pascal@99 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@99 29 genpkg_rules()
pascal@99 30 {
pascal@99 31 mkdir -p $fs/usr/lib
pascal@99 32 cp -a $install/dev $fs
pascal@99 33 cp -a $install/sbin $fs
pascal@99 34 cp -a $install/usr/bin $fs/usr
pascal@99 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@99 36 }