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

mrxvt-unicode : ./configure : remove "--enable-everything"
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Oct 17 20:06:27 2017 +0200 (2017-10-17)
parents 0e8dadf052b9
children 17a64e6b8783
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 DEPENDS=" "
57 ;;
58 *-dev)
59 copy @dev
60 PROVIDE="ntfsprogs-dev"
61 ;;
62 esac
63 }
65 post_install_ntfs_3g() {
66 grep -qs ^$PACKAGE$ "$1/etc/filesystems" || \
67 echo "$PACKAGE" >> "$1/etc/filesystems"
68 }
69 pre_remove_ntfs_3g() {
70 sed -i '/^$PACKAGE$/d' "$1/etc/filesystems"
71 }