wok-current annotate gptfdisk/receipt @ rev 25733

Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 16:13:23 2024 +0000 (6 days ago)
parents 7740a0c081ce
children
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@25654 14 DEPENDS="ncursesw popt util-linux-uuid"
Hans-G?nter@22878 15 BUILD_DEPENDS="ncursesw-dev popt-dev util-linux-uuid-dev"
mojo@20052 16
shann@25728 17 HOST_ARCH="i486 x86_64"
shann@25728 18
pascal@24403 19 # What is the latest version available today?
pascal@24403 20 current_version()
pascal@24403 21 {
pascal@24403 22 wget -O - https://sourceforge.net/projects/gptfdisk/files/gptfdisk/ 2>/dev/null | \
pascal@24403 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 24 sed '/scope="row/!d;s|.*/gptfdisk/||;s|/.*||;q'
pascal@24403 25 }
pascal@24403 26
mojo@20052 27 # Rules to configure and make the package.
mojo@20052 28 compile_rules()
mojo@20052 29 {
Hans-G?nter@24619 30 patch --input=$stuff/patches/gptcurses.cc-1.0.8
shann@25728 31 patch --input=$stuff/patches/guid.cc-1.0.8
Hans-G?nter@22878 32
pascal@20053 33 make
mojo@20052 34 }
mojo@20052 35
mojo@20052 36 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@20052 37 genpkg_rules()
mojo@20052 38 {
Hans-G?nter@22878 39 mkdir -p $fs/usr/bin
Hans-G?nter@24619 40 mkdir -p $install/usr/share/man
Hans-G?nter@24619 41 # mkdir -p $fs/usr/share/doc
Hans-G?nter@22878 42
Hans-G?nter@24619 43 cp $src/*.8 $install/usr/share/man
Hans-G?nter@24619 44 # cp $src/README $fs/usr/share/doc
Hans-G?nter@24619 45 # cp $src/NEWS $fs/usr/share/doc
Hans-G?nter@20994 46 cp $src/cgdisk $fs/usr/bin
Hans-G?nter@20994 47 cp $src/gdisk $fs/usr/bin
Hans-G?nter@20994 48 cp $src/sgdisk $fs/usr/bin
Hans-G?nter@20994 49 cp $src/fixparts $fs/usr/bin
mojo@20052 50 }