wok-6.x view ntfs-3g/receipt @ rev 2154
Up: File to 5.00
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 05 21:42:39 2009 +0100 (2009-02-05) |
parents | 14a7a851672f |
children | 583e8a023692 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ntfs-3g"
4 VERSION="2009.1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="The free ntfs driver."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="fuse"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://www.ntfs-3g.org/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/lib $fs/usr/lib
27 cp -a $_pkg/bin $fs/
28 cp -a $_pkg/sbin $fs/
29 cp -a $_pkg/lib/*.so* $fs/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 }
34 # Pre remove and post install commands for Tazpkg.
35 pre_remove()
36 {
37 sed -i '/^ntfs-3g$/d' $1/etc/filesystems
38 }
40 post_install()
41 {
42 grep -qs ^ntfs-3g$ $1/etc/filesystems || \
43 echo "ntfs-3g" >> $1/etc/filesystems
44 }