wok-next view gptfdisk/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 3460c1bb1b40
children
line source
1 # SliTaz package receipt v2.
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/gptfdisk/$TARBALL"
14 BUILD_DEPENDS="ncurses-dev util-linux-uuid-dev popt-dev"
16 compile_rules()
17 {
18 sed -i 's|ncursesw/||' gptcurses.cc
20 make || return 1
22 # put apps to /sbin, where fdisk and friends
23 mkdir -p $install/sbin
24 cp -a cgdisk $install/sbin
25 cp -a fixparts $install/sbin
26 cp -a gdisk $install/sbin
27 cp -a sgdisk $install/sbin
29 cook_pick_manpages *.8
30 cook_pick_docs README NEWS
31 }
33 genpkg_rules()
34 {
35 copy @std
36 DEPENDS="ncurses popt util-linux-uuid"
37 }