wok-4.x view ntfs-3g/receipt @ rev 1564

vanessa_adt: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 13 14:51:37 2008 +0000 (2008-10-13)
parents aab083647dc0
children fc336b5ff9bb
line source
1 # SliTaz package receipt.
3 PACKAGE="ntfs-3g"
4 VERSION="1.2812"
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 }