wok-next view unionfs-fuse/receipt @ rev 19700

unionfs-fuse: do not define function twice
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 26 10:36:51 2017 +0200 (2017-04-26)
parents 23c3aed67cd9
children f7cf1ead56c0
line source
1 # SliTaz package receipt.
3 PACKAGE="unionfs-fuse"
4 VERSION="0.24"
5 CATEGORY="system-tools"
6 SHORT_DESC="unionfs-fuse is an effort to create a userland unionfs implementation that is way more flexible than the current in-kernel based unionfs solution."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://podgorny.cz/moin/UnionFsFuse"
11 WGET_URL="http://podgorny.cz/unionfs-fuse/releases/$TARBALL"
13 DEPENDS="fuse"
14 BUILD_DEPENDS="cmake fuse-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/extern inline/static inline/' src/hashtable_itr.h
20 sed -i -e '/^hashtable_iterator_key/{n;s|$| */|}' \
21 -e '/^hashtable_iterator_value/{n;s|$| */|}' \
22 -e 's|^void *|/* &|' src/hashtable_itr.c
23 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }