wok-6.x view dosfstools/receipt @ rev 24092
Up get-pcem-roms (2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 18 13:15:53 2021 +0000 (2021-07-18) |
parents | 6f4d84436b9f |
children | bc06829bd4f2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dosfstools"
4 VERSION="4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Tools to create and check dos filesystems."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://github.com/$PACKAGE/$PACKAGE"
11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
12 HOST_ARCH="i486 arm"
14 BUILD_DEPENDS="wget"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 }