wok view ntfs-3g/receipt @ rev 21376

updated loqui (0.5.2 -> 0.6.4)
author Hans-G?nter Theisgen
date Mon Apr 22 09:48:23 2019 +0100 (2019-04-22)
parents d32e9a8cd03a
children ee53899c6189
line source
1 # SliTaz package receipt.
3 PACKAGE="ntfs-3g"
4 VERSION="2017.3.23"
5 CATEGORY="system-tools"
6 SHORT_DESC="Read/write NTFS driver for FUSE"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="ntfs-3g_ntfsprogs"
10 TARBALL="$SOURCE-$VERSION.tgz"
11 WEB_SITE="https://www.tuxera.com/community/open-source-ntfs-3g/"
12 WGET_URL="https://tuxera.com/opensource/$TARBALL"
13 CONFIG_FILES="/etc/filesystems"
14 TAGS="windows"
16 DEPENDS="fuse attr"
17 BUILD_DEPENDS="fuse-dev attr-dev util-linux-uuid-dev libtool"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir -p $DESTDIR/lib
23 ./configure --prefix=/usr \
24 --disable-static \
25 --with-fuse=internal \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/etc
35 cp -a $install/. $fs/.
36 rm -rf $fs/usr/bin/ntfs[a-z]* $fs/sbin/mkfs.ntfs $fs/usr/s*
37 rm -rf $fs/usr/share $fs/usr/lib/pkgconfig $fs/usr/lib/*.a $fs/usr/include
38 touch $fs/etc/filesystems
39 #this link allow udisks2 to use ntfs-3g
40 cd $fs/sbin
41 ln -s mount.ntfs-3g mount.ntfs
42 }
44 # Pre remove and post install commands for Tazpkg.
45 pre_remove()
46 {
47 sed -i '/^$PACKAGE$/d' "$1/etc/filesystems"
48 }
50 post_install()
51 {
52 grep -qs ^$PACKAGE$ "$1/etc/filesystems" || \
53 echo "$PACKAGE" >> "$1/etc/filesystems"
54 }