wok annotate ntfsprogs/receipt @ rev 25506

memtest, pack: cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 09 16:28:01 2023 +0000 (21 months ago)
parents 380ffe05937a
children d3556b8f5c3d
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"
pascal@15000 8 LICENSE="GPL2"
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"
jozee@4969 12 TAGS="windows"
pankso@47 13
pascal@13427 14 DEPENDS="fuse ntfs-3g util-linux-uuid"
pascal@13427 15 BUILD_DEPENDS="fuse"
pascal@13427 16
pascal@24071 17 current_version()
pascal@24071 18 {
pascal@24071 19 wget -O - https://sourceforge.net/projects/linux-ntfs/files/NTFS%20Tools%20and%20Library/ 2>/dev/null | \
pascal@24071 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 22 }
pascal@24071 23
pankso@47 24 # Rules to configure and make the package.
pankso@47 25 compile_rules()
pankso@47 26 {
pankso@47 27 cd $src
pankso@47 28 ./configure \
pankso@47 29 --prefix=/usr \
pankso@47 30 --mandir=/usr/share/man \
pascal@2463 31 --enable-fuse-module \
pascal@2460 32 $CONFIGURE_ARGS &&
pascal@2460 33 make &&
pascal@13427 34 make DESTDIR=$DESTDIR install
pankso@47 35 }
pankso@47 36
pankso@47 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@47 38 genpkg_rules()
pankso@47 39 {
pankso@47 40 mkdir -p $fs/usr/lib
pascal@13427 41 cp -a $install/usr/bin $fs/usr
pascal@13427 42 cp -a $install/usr/sbin $fs/usr
pascal@13427 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13427 44 cp -a $install/sbin $fs
pankso@47 45 }
pankso@47 46