wok view ntfsprogs/receipt @ rev 25539
Up perl-test-compile (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 12:11:13 2023 +0000 (20 months ago) |
parents | 380ffe05937a |
children | d3556b8f5c3d |
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 }