
Receipt for package "ntfs-3g"
# SliTaz package receipt. PACKAGE="ntfs-3g" VERSION="2022.10.3" CATEGORY="system-tools" TAGS="windows" SHORT_DESC="Read and write NTFS driver for FUSE." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.tuxera.com/company/open-source/" SOURCE="ntfs-3g_ntfsprogs" TARBALL="$SOURCE-$VERSION.tgz" WGET_URL="https://tuxera.com/opensource/$TARBALL" DEPENDS="attr fuse" BUILD_DEPENDS="attr-dev fuse-dev libtool util-linux-uuid-dev \ libgcrypt-dev autoconf" HOST_ARCH="i486 x86_64" CONFIG_FILES="/etc/filesystems" current_version() { wget -O - https://github.com/tuxera/ntfs-3g/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { mkdir -p $DESTDIR/lib ./autogen.sh ./configure \ --prefix=/usr \ --disable-static \ --with-fuse=internal \ --enable-posix-acls \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/etc cp -a $install/. $fs/. rm -rf $fs/usr/bin/ntfs[a-z]* rm -rf $fs/sbin/mkfs.ntfs rm -rf $fs/usr/s* rm -rf $fs/usr/share rm -rf $fs/usr/lib/pkgconfig rm -rf $fs/usr/lib/*.*a rm -rf $fs/usr/include touch $fs/etc/filesystems #this link allows udisks2 to use ntfs-3g cd $fs/sbin ln -s mount.ntfs-3g mount.ntfs } # Pre remove and post install commands for Tazpkg. pre_remove() { sed -i '/^$PACKAGE$/d' "$1/etc/filesystems" } post_install() { grep -qs ^$PACKAGE$ "$1/etc/filesystems" || \ echo "$PACKAGE" >> "$1/etc/filesystems" }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)