wok annotate ntfs-3g/receipt @ rev 18850

libcomerr3 provides libcomerr... (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 24 17:34:37 2016 +0100 (2016-01-24)
parents c9e270dd464f
children 05abe0736674
rev   line source
pankso@47 1 # SliTaz package receipt.
pankso@47 2
pankso@47 3 PACKAGE="ntfs-3g"
devl547@16413 4 VERSION="2014.2.15"
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"
monghitri@14103 11 WEB_SITE="http://tuxera.com/opensource"
pankso@47 12 WGET_URL="$WEB_SITE/$TARBALL"
pascal@2562 13 CONFIG_FILES="/etc/filesystems"
jozee@4969 14 TAGS="windows"
pankso@47 15
pascal@15000 16 DEPENDS="fuse attr"
pascal@15000 17 BUILD_DEPENDS="fuse-dev attr-dev"
pascal@15000 18
pankso@47 19 # Rules to configure and make the package.
pankso@47 20 compile_rules()
pankso@47 21 {
pankso@47 22 ./configure --prefix=/usr \
monghitri@14103 23 --disable-static \
mojo@17540 24 --with-fuse=internal \
pascal@2562 25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2562 26 make &&
pascal@15000 27 make DESTDIR=$DESTDIR install
pankso@47 28 }
pankso@47 29
pankso@47 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@47 31 genpkg_rules()
pankso@47 32 {
monghitri@14103 33 mkdir -p $fs/lib $fs/usr/lib $fs/etc $fs/sbin $fs/usr/bin
monghitri@14103 34 cp -a $install/bin $fs/
monghitri@14103 35 cp -a $install/sbin/*-3g $fs/sbin
monghitri@14103 36 cp -a $install/lib/*-3g.so* $fs/lib
monghitri@14103 37 cp -a $install/usr/lib/*-3g.so* $fs/usr/lib
monghitri@14103 38 cp -a $install/usr/bin/*-3g* $fs/usr/bin
pascal@2562 39 touch $fs/etc/filesystems
monghitri@14125 40 #this link allow udisks2 to use ntfs-3g
monghitri@14103 41 cd $fs/sbin
monghitri@14103 42 ln -s mount.ntfs-3g mount.ntfs
pankso@47 43 }
pascal@2126 44
pascal@2126 45 # Pre remove and post install commands for Tazpkg.
pascal@2126 46 pre_remove()
pascal@2126 47 {
pascal@18730 48 sed -i '/^$PACKAGE$/d' "$1/etc/filesystems"
pascal@2126 49 }
pascal@2126 50
pascal@2126 51 post_install()
pascal@2126 52 {
pascal@18730 53 grep -qs ^$PACKAGE$ "$1/etc/filesystems" || \
pascal@18730 54 echo "$PACKAGE" >> "$1/etc/filesystems"
pascal@2126 55 }