wok-current view ntfsprogs/receipt @ rev 9402
git: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 27 16:56:58 2011 +0200 (2011-03-27) |
parents | 0588160a6878 |
children | 02bbaa9d12ba |
line source
1 # SliTaz package receipt.
3 PACKAGE="ntfsprogs"
4 VERSION="2.0.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities for ntfs manipulations with FUSE module."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="fuse ntfs-3g util-linux-ng-uuid"
9 BUILD_DEPENDS="fuse"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.linux-ntfs.org/"
12 WGET_URL="$SF_MIRROR/linux-ntfs/$TARBALL"
13 TAGS="windows"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --enable-fuse-module \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/sbin $fs
37 strip -s $fs/usr/bin/*
38 strip -s $fs/usr/sbin/*
39 strip -s $fs/usr/lib/*
40 }