wok view ntfsprogs/receipt @ rev 25614

Add libslirp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 03 11:59:41 2023 +0000 (15 months ago)
parents ee53899c6189
children d80275dcc2c7
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/linux-ntfs/files/NTFS%20Tools%20and%20Library/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 --enable-fuse-module \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/sbin $fs
46 }