wok annotate ntfs-3g/receipt @ rev 22076

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