wok-6.x view disktype/receipt @ rev 25527

created recipes for libmpack and libmpack-dev 1.0.5
author Hans-G?nter Theisgen
date Sat Feb 25 07:28:19 2023 +0100 (20 months ago)
parents 640a2eba2511
children
line source
1 # SliTaz package receipt.
3 PACKAGE="disktype"
4 VERSION="9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Detects the content format of a disk or disk image (file systems, partition tables, and boot codes)"
7 MAINTAINER="db_slitaz@m4x.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://disktype.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS=""
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/disktype/files/disktype/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/disktype/||;s|/.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/disktype $fs/usr/bin
34 }