wok annotate gptfdisk/receipt @ rev 25397

updated viewnior (1.7 -> 1.8)
author Hans-G?nter Theisgen
date Tue Aug 02 10:30:16 2022 +0100 (22 months ago)
parents 932cd974e081
children 6b33f9da53d4
rev   line source
mojo@20052 1 # SliTaz package receipt.
mojo@20052 2
mojo@20052 3 PACKAGE="gptfdisk"
Hans-G?nter@24619 4 VERSION="1.0.8"
mojo@20052 5 CATEGORY="system-tools"
Hans-G?nter@20994 6 SHORT_DESC="GUID Partition Table (GPT) Partitioning tools."
mojo@20052 7 MAINTAINER="mojo@slitaz.org"
mojo@20052 8 LICENSE="GPL2"
Hans-G?nter@20994 9 WEB_SITE="https://www.rodsbooks.com/gdisk/"
Hans-G?nter@20994 10
mojo@20052 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20994 12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
mojo@20052 13
Hans-G?nter@22878 14 DEPENDS="gcc-lib-base ncursesw popt util-linux-uuid"
Hans-G?nter@22878 15 BUILD_DEPENDS="ncursesw-dev popt-dev util-linux-uuid-dev"
mojo@20052 16
pascal@24403 17 # What is the latest version available today?
pascal@24403 18 current_version()
pascal@24403 19 {
pascal@24403 20 wget -O - https://sourceforge.net/projects/gptfdisk/files/gptfdisk/ 2>/dev/null | \
pascal@24403 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 22 sed '/scope="row/!d;s|.*/gptfdisk/||;s|/.*||;q'
pascal@24403 23 }
pascal@24403 24
mojo@20052 25 # Rules to configure and make the package.
mojo@20052 26 compile_rules()
mojo@20052 27 {
Hans-G?nter@24619 28 patch --input=$stuff/patches/gptcurses.cc-1.0.8
Hans-G?nter@22878 29
pascal@20053 30 make
mojo@20052 31 }
mojo@20052 32
mojo@20052 33 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@20052 34 genpkg_rules()
mojo@20052 35 {
Hans-G?nter@22878 36 mkdir -p $fs/usr/bin
Hans-G?nter@24619 37 mkdir -p $install/usr/share/man
Hans-G?nter@24619 38 # mkdir -p $fs/usr/share/doc
Hans-G?nter@22878 39
Hans-G?nter@24619 40 cp $src/*.8 $install/usr/share/man
Hans-G?nter@24619 41 # cp $src/README $fs/usr/share/doc
Hans-G?nter@24619 42 # cp $src/NEWS $fs/usr/share/doc
Hans-G?nter@20994 43 cp $src/cgdisk $fs/usr/bin
Hans-G?nter@20994 44 cp $src/gdisk $fs/usr/bin
Hans-G?nter@20994 45 cp $src/sgdisk $fs/usr/bin
Hans-G?nter@20994 46 cp $src/fixparts $fs/usr/bin
mojo@20052 47 }