wok-next annotate ntfs-3g/receipt @ rev 21693

updated go-bin (1.10.2 -> 1.14.4)
author Hans-G?nter Theisgen
date Tue Jun 30 15:23:03 2020 +0100 (2020-06-30)
parents f48456621a9d
children
rev   line source
al@19816 1 # SliTaz package receipt v2.
pankso@47 2
pankso@47 3 PACKAGE="ntfs-3g"
al@19816 4 VERSION="2017.3.23"
pankso@202 5 CATEGORY="system-tools"
al@19816 6 SHORT_DESC="Read/write NTFS driver"
al@21020 7 MAINTAINER="devel@slitaz.org"
al@19816 8 LICENSE="GPL2 LGPL2"
al@19816 9 WEB_SITE="https://www.tuxera.com/community/open-source-ntfs-3g/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/ntfs-3g.html"
pankso@47 11
al@19816 12 TARBALL="ntfs-3g_ntfsprogs-$VERSION.tgz"
al@19816 13 WGET_URL="https://tuxera.com/opensource/$TARBALL"
al@19816 14
al@19816 15 BUILD_DEPENDS="util-linux-uuid-dev libtool"
al@21020 16 SPLIT="ntfsprogs ntfsprogs-extra $PACKAGE $PACKAGE-dev"
pascal@15000 17
al@20409 18 compile_rules() {
al@19816 19 touch $src/libtoolT
al@19816 20
al@19816 21 ./configure \
al@19816 22 --enable-extras \
al@19816 23 $CONFIGURE_ARGS &&
al@20601 24 fix libtool &&
pascal@2562 25 make &&
al@19816 26 mkdir -p $install/lib &&
al@20601 27 make install || return 1
al@19816 28
al@20601 29 mkdir -p $install/etc
al@20601 30 touch $install/etc/filesystems
al@19816 31 #this link allow udisks2 to use ntfs-3g
al@19816 32 ln -s mount.ntfs-3g $install/sbin/mount.ntfs
pankso@47 33 }
pankso@47 34
al@20409 35 genpkg_rules() {
al@19816 36 TAGS="windows"
al@19816 37 case $PACKAGE in
al@19816 38 ntfsprogs)
al@19816 39 copy mkfs.ntfs mkntfs ntfscat ntfsclone ntfscluster ntfscmp ntfscp \
al@19816 40 ntfsfix ntfsinfo ntfslabel ntfsls ntfsresize ntfsundelete
al@19816 41 CAT="system-tools|ntfsprogs utilities"
al@19816 42 DEPENDS="ntfs-3g util-linux-uuid"
al@19816 43 ;;
al@19816 44 *-extra)
al@19816 45 copy ntfsrecover ntfssecaudit ntfstruncate ntfsusermap ntfswipe
al@19816 46 CAT="system-tools|extra ntfsprogs utilities"
al@19816 47 DEPENDS="ntfs-3g"
al@19816 48 ;;
al@19816 49 ntfs-3g)
al@20409 50 copy @std @rm
al@19816 51 CONFIG_FILES="/etc/filesystems"
al@19863 52 DEPENDS=" "
al@19816 53 ;;
al@19816 54 *-dev)
al@19816 55 copy @dev
al@19816 56 PROVIDE="ntfsprogs-dev"
al@19816 57 ;;
al@19816 58 esac
pankso@47 59 }
pascal@2126 60
al@19816 61 post_install_ntfs_3g() {
al@19816 62 grep -qs ^$PACKAGE$ "$1/etc/filesystems" || \
al@19816 63 echo "$PACKAGE" >> "$1/etc/filesystems"
al@19816 64 }
al@19816 65 pre_remove_ntfs_3g() {
pascal@18730 66 sed -i '/^$PACKAGE$/d' "$1/etc/filesystems"
pascal@2126 67 }
al@20443 68