wok-current view ntfsprogs/receipt @ rev 24110
rdesktop: add debian patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 10:48:56 2021 +0000 (2021-09-28) |
parents | 380ffe05937a |
children |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.linux-ntfs.org/"
11 WGET_URL="$SF_MIRROR/linux-ntfs/$TARBALL"
12 TAGS="windows"
14 DEPENDS="fuse ntfs-3g util-linux-uuid"
15 BUILD_DEPENDS="fuse"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/linux-ntfs/files/NTFS%20Tools%20and%20Library/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure \
29 --prefix=/usr \
30 --mandir=/usr/share/man \
31 --enable-fuse-module \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/sbin $fs
45 }