wok view ntfs-3g/receipt @ rev 20003

Up: get-palemoon v27.3 to v27.4 :: Package link has been updated. Thanks Ceel.
author Leonardo Laporte <hackdorte@yandex.com>
date Sun Jul 30 23:18:29 2017 -0300 (2017-07-30)
parents f6beea7fe09b
children d32e9a8cd03a
line source
1 # SliTaz package receipt.
3 PACKAGE="ntfs-3g"
4 VERSION="2014.2.15"
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="http://tuxera.com/opensource"
12 WGET_URL="$WEB_SITE/$TARBALL"
13 CONFIG_FILES="/etc/filesystems"
14 TAGS="windows"
16 DEPENDS="fuse attr"
17 BUILD_DEPENDS="fuse-dev attr-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure --prefix=/usr \
23 --disable-static \
24 --with-fuse=internal \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/etc
34 cp -a $install/. $fs/.
35 rm -rf $fs/usr/bin/ntfs[a-z]* $fs/sbin/mkfs.ntfs $fs/usr/s*
36 rm -rf $fs/usr/share $fs/usr/lib/pkgconfig $fs/usr/lib/*.a $fs/usr/include
37 touch $fs/etc/filesystems
38 #this link allow udisks2 to use ntfs-3g
39 cd $fs/sbin
40 ln -s mount.ntfs-3g mount.ntfs
41 }
43 # Pre remove and post install commands for Tazpkg.
44 pre_remove()
45 {
46 sed -i '/^$PACKAGE$/d' "$1/etc/filesystems"
47 }
49 post_install()
50 {
51 grep -qs ^$PACKAGE$ "$1/etc/filesystems" || \
52 echo "$PACKAGE" >> "$1/etc/filesystems"
53 }