wok-next view ntfs-3g/receipt @ rev 19840

Up librsvg (split more), make-slitaz-icons (use rsvg-convert instead of inkscape), faenza-icon-theme (keep original theme), slitaz-icons-faenza (combine light & dark).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 14 15:53:27 2017 +0300 (2017-08-14)
parents 9e01bc6321ea
children e44a1a92452b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ntfs-3g"
4 VERSION="2017.3.23"
5 CATEGORY="system-tools"
6 SHORT_DESC="Read/write NTFS driver"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2 LGPL2"
9 WEB_SITE="https://www.tuxera.com/community/open-source-ntfs-3g/"
11 TARBALL="ntfs-3g_ntfsprogs-$VERSION.tgz"
12 WGET_URL="https://tuxera.com/opensource/$TARBALL"
14 BUILD_DEPENDS="util-linux-uuid-dev libtool"
15 SPLIT="ntfsprogs ntfsprogs-extra ntfs-3g ntfs-3g-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/ntfs-3g.html
22 touch $src/libtoolT
24 ./configure \
25 --enable-extras \
26 $CONFIGURE_ARGS &&
27 make &&
28 mkdir -p $install/lib &&
29 make install &&
31 mkdir -p $install/etc && touch $install/etc/filesystems &&
32 #this link allow udisks2 to use ntfs-3g
33 ln -s mount.ntfs-3g $install/sbin/mount.ntfs
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 TAGS="windows"
40 case $PACKAGE in
41 ntfsprogs)
42 copy mkfs.ntfs mkntfs ntfscat ntfsclone ntfscluster ntfscmp ntfscp \
43 ntfsfix ntfsinfo ntfslabel ntfsls ntfsresize ntfsundelete
44 CAT="system-tools|ntfsprogs utilities"
45 DEPENDS="ntfs-3g util-linux-uuid"
46 ;;
47 *-extra)
48 copy ntfsrecover ntfssecaudit ntfstruncate ntfsusermap ntfswipe
49 CAT="system-tools|extra ntfsprogs utilities"
50 DEPENDS="ntfs-3g"
51 ;;
52 ntfs-3g)
53 copy @std
54 remove_already_packed
55 CONFIG_FILES="/etc/filesystems"
56 ;;
57 *-dev)
58 copy @dev
59 PROVIDE="ntfsprogs-dev"
60 ;;
61 esac
62 }
64 post_install_ntfs_3g() {
65 grep -qs ^$PACKAGE$ "$1/etc/filesystems" || \
66 echo "$PACKAGE" >> "$1/etc/filesystems"
67 }
68 pre_remove_ntfs_3g() {
69 sed -i '/^$PACKAGE$/d' "$1/etc/filesystems"
70 }