wok rev 24619

updated gptfdisk (1.0.5 -> 1.0.8)
author Hans-G?nter Theisgen
date Mon Mar 07 10:40:58 2022 +0100 (2022-03-07)
parents cdbf817b8967
children 8fe76b4f87c8
files gptfdisk/description.txt gptfdisk/receipt gptfdisk/stuff/patches/gptcurses.cc-1.0.8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gptfdisk/description.txt	Mon Mar 07 10:40:58 2022 +0100
     1.3 @@ -0,0 +1,9 @@
     1.4 +GPT fdisk (consisting of the gdisk, cgdisk, sgdisk, and fixparts programs)
     1.5 +is a set of text-mode partitioning tools for Linux, FreeBSD, Mac OS X,
     1.6 +and Windows.
     1.7 +The gdisk, cgdisk, and sgdisk programs work on Globally Unique Identifier
     1.8 +(GUID) Partition Table (GPT) disks, rather than on the older (and once more
     1.9 +common) Master Boot Record (MBR) partition tables.
    1.10 +The fixparts program repairs certain types of damage to MBR disks and
    1.11 +enables changing partition types from primary to logical and vice-versa.
    1.12 +You can learn more about fixparts on its dedicated Web page.
     2.1 --- a/gptfdisk/receipt	Mon Mar 07 09:50:09 2022 +0100
     2.2 +++ b/gptfdisk/receipt	Mon Mar 07 10:40:58 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="gptfdisk"
     2.7 -VERSION="1.0.5"
     2.8 +VERSION="1.0.8"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="GUID Partition Table (GPT) Partitioning tools."
    2.11  MAINTAINER="mojo@slitaz.org"
    2.12 @@ -25,8 +25,7 @@
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
    2.16 -	sed -i 's|#include <ncursesw/ncurses.h>|#include <ncurses.h>|' \
    2.17 -		gptcurses.cc
    2.18 +	patch --input=$stuff/patches/gptcurses.cc-1.0.8
    2.19  
    2.20  	make
    2.21  }
    2.22 @@ -35,12 +34,12 @@
    2.23  genpkg_rules()
    2.24  {
    2.25  	mkdir -p $fs/usr/bin
    2.26 -	mkdir -p $fs/usr/share/man
    2.27 -	mkdir -p $fs/usr/share/doc
    2.28 +	mkdir -p $install/usr/share/man
    2.29 +#	mkdir -p $fs/usr/share/doc
    2.30  
    2.31 -	cp $src/*.8		$fs/usr/share/man
    2.32 -	cp $src/README		$fs/usr/share/doc
    2.33 -	cp $src/NEWS		$fs/usr/share/doc
    2.34 +	cp $src/*.8		$install/usr/share/man
    2.35 +#	cp $src/README		$fs/usr/share/doc
    2.36 +#	cp $src/NEWS		$fs/usr/share/doc
    2.37  	cp $src/cgdisk		$fs/usr/bin
    2.38  	cp $src/gdisk		$fs/usr/bin
    2.39  	cp $src/sgdisk		$fs/usr/bin
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gptfdisk/stuff/patches/gptcurses.cc-1.0.8	Mon Mar 07 10:40:58 2022 +0100
     3.3 @@ -0,0 +1,11 @@
     3.4 +--- gptcurses.cc.orig
     3.5 ++++ gptcurses.cc
     3.6 +@@ -26,7 +26,7 @@
     3.7 + #if defined (__APPLE__) || (__FreeBSD__)
     3.8 + #include <ncurses.h>
     3.9 + #else
    3.10 +-#include <ncursesw/ncurses.h>
    3.11 ++#include <ncurses.h>
    3.12 + #endif
    3.13 + #include "gptcurses.h"
    3.14 + #include "support.h"