wok-stable diff ntfs-3g/receipt @ rev 2970
edje efreet evas: add missing links
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 10 00:00:24 2009 +0200 (2009-05-10) |
parents | b2603ea1e6c0 |
children | c0f0039db4ad |
line diff
1.1 --- a/ntfs-3g/receipt Fri Feb 20 16:21:33 2009 +0000 1.2 +++ b/ntfs-3g/receipt Sun May 10 00:00:24 2009 +0200 1.3 @@ -9,6 +9,7 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tgz" 1.5 WEB_SITE="http://www.ntfs-3g.org/" 1.6 WGET_URL="$WEB_SITE/$TARBALL" 1.7 +CONFIG_FILES="/etc/filesystems" 1.8 1.9 # Rules to configure and make the package. 1.10 compile_rules() 1.11 @@ -17,30 +18,31 @@ 1.12 sed -i 's/\terr = ntfs_open\(.*\);/\tntfs_log_clear_levels((u32) -1); if (err = ntfs_open\1) goto err2;/' \ 1.13 src/ntfs-3g.c 1.14 ./configure --prefix=/usr \ 1.15 - --mandir=/usr/share/man $CONFIGURE_ARGS 1.16 - make 1.17 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.18 + make && 1.19 make DESTDIR=$PWD/_pkg install 1.20 } 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 genpkg_rules() 1.24 { 1.25 - mkdir -p $fs/lib $fs/usr/lib 1.26 + mkdir -p $fs/lib $fs/usr/lib $fs/etc 1.27 cp -a $_pkg/bin $fs/ 1.28 cp -a $_pkg/sbin $fs/ 1.29 cp -a $_pkg/lib/*.so* $fs/lib 1.30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.31 cp -a $_pkg/usr/bin $fs/usr 1.32 + touch $fs/etc/filesystems 1.33 } 1.34 1.35 # Pre remove and post install commands for Tazpkg. 1.36 pre_remove() 1.37 { 1.38 - sed -i '/^ntfs-3g$/d' $1/etc/filesystems 1.39 + sed -i '/^$PACKAGE$/d' $1/etc/filesystems 1.40 } 1.41 1.42 post_install() 1.43 { 1.44 - grep -qs ^ntfs-3g$ $1/etc/filesystems || \ 1.45 - echo "ntfs-3g" >> $1/etc/filesystems 1.46 + grep -qs ^$PACKAGE$ $1/etc/filesystems || \ 1.47 + echo "$PACKAGE" >> $1/etc/filesystems 1.48 }