wok diff gptfdisk/receipt @ rev 24102

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 17 10:35:57 2021 +0000 (2021-09-17)
parents 04a7ac803caf
children 932cd974e081
line diff
     1.1 --- a/gptfdisk/receipt	Thu Mar 07 17:31:34 2019 +0100
     1.2 +++ b/gptfdisk/receipt	Fri Sep 17 10:35:57 2021 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gptfdisk"
     1.7 -VERSION="1.0.4"
     1.8 +VERSION="1.0.5"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="GUID Partition Table (GPT) Partitioning tools."
    1.11  MAINTAINER="mojo@slitaz.org"
    1.12 @@ -11,20 +11,26 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    1.15  
    1.16 -DEPENDS="gcc-lib-base util-linux-uuid ncursesw popt"
    1.17 -BUILD_DEPENDS="util-linux-uuid-dev ncursesw-dev popt-dev"
    1.18 +DEPENDS="gcc-lib-base ncursesw popt util-linux-uuid"
    1.19 +BUILD_DEPENDS="ncursesw-dev popt-dev util-linux-uuid-dev"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 +	sed -i 's|#include <ncursesw/ncurses.h>|#include <ncurses.h>|' \
    1.25 +		gptcurses.cc
    1.26 +
    1.27  	make
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33 -	mkdir -p $fs/usr/bin $fs/usr/share/man $fs/usr/share/doc
    1.34 -	cp $src/*.8 $fs/usr/share/man
    1.35 +	mkdir -p $fs/usr/bin
    1.36 +	mkdir -p $fs/usr/share/man
    1.37 +	mkdir -p $fs/usr/share/doc
    1.38 +
    1.39 +	cp $src/*.8		$fs/usr/share/man
    1.40  	cp $src/README		$fs/usr/share/doc
    1.41  	cp $src/NEWS		$fs/usr/share/doc
    1.42  	cp $src/cgdisk		$fs/usr/bin