wok-current annotate ntfsprogs/receipt @ rev 243
Linux: patches compatible with busybox/patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 22:54:56 2008 +0100 (2008-02-18) |
parents | 52598e15250a |
children | 7d4197e5834d |
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@47 | 8 DEPENDS="fuse ntfs-3g" |
pankso@47 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@47 | 10 WEB_SITE="http://www.linux-ntfs.org/" |
pankso@47 | 11 WGET_URL="$SF_MIRROR/linux-ntfs/$TARBALL" |
pankso@47 | 12 |
pankso@47 | 13 # Rules to configure and make the package. |
pankso@47 | 14 compile_rules() |
pankso@47 | 15 { |
pankso@47 | 16 cd $src |
pankso@47 | 17 ./configure \ |
pankso@47 | 18 --prefix=/usr \ |
pankso@47 | 19 --mandir=/usr/share/man \ |
pankso@47 | 20 --enable-fuse-module |
pankso@47 | 21 $CONFIGURE_ARGS |
pankso@47 | 22 make |
pankso@47 | 23 make DESTDIR=$PWD/_pkg install |
pankso@47 | 24 } |
pankso@47 | 25 |
pankso@47 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@47 | 27 genpkg_rules() |
pankso@47 | 28 { |
pankso@47 | 29 mkdir -p $fs/usr/lib |
pankso@47 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@47 | 31 cp -a $_pkg/usr/sbin $fs/usr |
pankso@47 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@47 | 33 cp -a $_pkg/sbin $fs |
pankso@47 | 34 |
pankso@47 | 35 strip -s $fs/usr/bin/* |
pankso@47 | 36 strip -s $fs/usr/sbin/* |
pankso@47 | 37 strip -s $fs/usr/lib/* |
pankso@47 | 38 } |
pankso@47 | 39 |