wok annotate gptfdisk/receipt @ rev 23870

syslinux: update iso2exe.sh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 23 08:04:01 2020 +0000 (2020-06-23)
parents 04a7ac803caf
children 932cd974e081
rev   line source
mojo@20052 1 # SliTaz package receipt.
mojo@20052 2
mojo@20052 3 PACKAGE="gptfdisk"
Hans-G?nter@22878 4 VERSION="1.0.5"
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
mojo@20052 17 # Rules to configure and make the package.
mojo@20052 18 compile_rules()
mojo@20052 19 {
Hans-G?nter@22878 20 sed -i 's|#include <ncursesw/ncurses.h>|#include <ncurses.h>|' \
Hans-G?nter@22878 21 gptcurses.cc
Hans-G?nter@22878 22
pascal@20053 23 make
mojo@20052 24 }
mojo@20052 25
mojo@20052 26 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@20052 27 genpkg_rules()
mojo@20052 28 {
Hans-G?nter@22878 29 mkdir -p $fs/usr/bin
Hans-G?nter@22878 30 mkdir -p $fs/usr/share/man
Hans-G?nter@22878 31 mkdir -p $fs/usr/share/doc
Hans-G?nter@22878 32
Hans-G?nter@22878 33 cp $src/*.8 $fs/usr/share/man
Hans-G?nter@20994 34 cp $src/README $fs/usr/share/doc
Hans-G?nter@20994 35 cp $src/NEWS $fs/usr/share/doc
Hans-G?nter@20994 36 cp $src/cgdisk $fs/usr/bin
Hans-G?nter@20994 37 cp $src/gdisk $fs/usr/bin
Hans-G?nter@20994 38 cp $src/sgdisk $fs/usr/bin
Hans-G?nter@20994 39 cp $src/fixparts $fs/usr/bin
mojo@20052 40 }