wok view gptfdisk/receipt @ rev 24071
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 10:35:01 2021 +0000 (2021-07-07) |
parents | 04a7ac803caf |
children | 932cd974e081 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gptfdisk"
4 VERSION="1.0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="GUID Partition Table (GPT) Partitioning tools."
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.rodsbooks.com/gdisk/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="gcc-lib-base ncursesw popt util-linux-uuid"
15 BUILD_DEPENDS="ncursesw-dev popt-dev util-linux-uuid-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|#include <ncursesw/ncurses.h>|#include <ncurses.h>|' \
21 gptcurses.cc
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 mkdir -p $fs/usr/share/man
31 mkdir -p $fs/usr/share/doc
33 cp $src/*.8 $fs/usr/share/man
34 cp $src/README $fs/usr/share/doc
35 cp $src/NEWS $fs/usr/share/doc
36 cp $src/cgdisk $fs/usr/bin
37 cp $src/gdisk $fs/usr/bin
38 cp $src/sgdisk $fs/usr/bin
39 cp $src/fixparts $fs/usr/bin
40 }