wok view gptfdisk/receipt @ rev 25065
grub4dos: binutils 2.37 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 09 15:38:57 2022 +0000 (2022-06-09) |
parents | 932cd974e081 |
children | 6b33f9da53d4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gptfdisk"
4 VERSION="1.0.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="GUID Partition Table (GPT) Partitioning tools."
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.rodsbooks.com/gdisk/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="gcc-lib-base ncursesw popt util-linux-uuid"
15 BUILD_DEPENDS="ncursesw-dev popt-dev util-linux-uuid-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/gptfdisk/files/gptfdisk/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/gptfdisk/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch --input=$stuff/patches/gptcurses.cc-1.0.8
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 mkdir -p $install/usr/share/man
38 # mkdir -p $fs/usr/share/doc
40 cp $src/*.8 $install/usr/share/man
41 # cp $src/README $fs/usr/share/doc
42 # cp $src/NEWS $fs/usr/share/doc
43 cp $src/cgdisk $fs/usr/bin
44 cp $src/gdisk $fs/usr/bin
45 cp $src/sgdisk $fs/usr/bin
46 cp $src/fixparts $fs/usr/bin
47 }