wok-current view gptfdisk/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 932cd974e081 |
children | 7740a0c081ce |
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 }