wok-4.x annotate ntfsprogs/receipt @ rev 4840
tazpkg-web: add BuildDepends & FileOverlap
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 28 19:12:08 2010 +0100 (2010-01-28) |
parents | d27b69f84bf1 |
children | bee79018e13a |
rev | line source |
---|---|
pankso@47 | 1 # SliTaz package receipt. |
pankso@47 | 2 |
pankso@47 | 3 PACKAGE="ntfsprogs" |
pankso@47 | 4 VERSION="2.0.0" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@47 | 6 SHORT_DESC="Utilities for ntfs manipulations with FUSE module." |
pankso@47 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4052 | 8 DEPENDS="fuse ntfs-3g util-linux-ng-uuid" |
pascal@2463 | 9 BUILD_DEPENDS="fuse" |
pankso@47 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@47 | 11 WEB_SITE="http://www.linux-ntfs.org/" |
pankso@47 | 12 WGET_URL="$SF_MIRROR/linux-ntfs/$TARBALL" |
pankso@47 | 13 |
pankso@47 | 14 # Rules to configure and make the package. |
pankso@47 | 15 compile_rules() |
pankso@47 | 16 { |
pankso@47 | 17 cd $src |
pankso@47 | 18 ./configure \ |
pankso@47 | 19 --prefix=/usr \ |
pankso@47 | 20 --mandir=/usr/share/man \ |
pascal@2463 | 21 --enable-fuse-module \ |
pascal@2460 | 22 $CONFIGURE_ARGS && |
pascal@2460 | 23 make && |
pankso@47 | 24 make DESTDIR=$PWD/_pkg install |
pankso@47 | 25 } |
pankso@47 | 26 |
pankso@47 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@47 | 28 genpkg_rules() |
pankso@47 | 29 { |
pankso@47 | 30 mkdir -p $fs/usr/lib |
pankso@47 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@47 | 32 cp -a $_pkg/usr/sbin $fs/usr |
pankso@47 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@47 | 34 cp -a $_pkg/sbin $fs |
pankso@47 | 35 |
pankso@47 | 36 strip -s $fs/usr/bin/* |
pankso@47 | 37 strip -s $fs/usr/sbin/* |
pankso@47 | 38 strip -s $fs/usr/lib/* |
pankso@47 | 39 } |
pankso@47 | 40 |