wok annotate gptfdisk/receipt @ rev 20053
gptfdisk add deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 04 10:42:53 2017 +0200 (2017-09-04) |
parents | e0c9c79ef5e7 |
children | d8ea7afd1d1f |
rev | line source |
---|---|
mojo@20052 | 1 # SliTaz package receipt. |
mojo@20052 | 2 |
mojo@20052 | 3 PACKAGE="gptfdisk" |
mojo@20052 | 4 VERSION="1.0.3" |
mojo@20052 | 5 CATEGORY="system-tools" |
mojo@20052 | 6 SHORT_DESC="GUID Partition Table (GPT) Partitioning tools" |
mojo@20052 | 7 MAINTAINER="mojo@slitaz.org" |
mojo@20052 | 8 LICENSE="GPL2" |
mojo@20052 | 9 WEB_SITE="http://www.rodsbooks.com/gdisk/" |
mojo@20052 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mojo@20052 | 11 WGET_URL="https://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
mojo@20052 | 12 |
pascal@20053 | 13 DEPENDS="gcc-lib-base util-linux-uuid ncursesw popt" |
mojo@20052 | 14 BUILD_DEPENDS="util-linux-uuid-dev ncursesw-dev popt-dev" |
mojo@20052 | 15 |
mojo@20052 | 16 # Rules to configure and make the package. |
mojo@20052 | 17 compile_rules() |
mojo@20052 | 18 { |
pascal@20053 | 19 make |
mojo@20052 | 20 } |
mojo@20052 | 21 |
mojo@20052 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@20052 | 23 genpkg_rules() |
mojo@20052 | 24 { |
pascal@20053 | 25 mkdir -p $fs/usr/bin $install/usr/share/man $install/usr/share/doc |
pascal@20053 | 26 cp $src/*.8 $install/usr/share/man |
pascal@20053 | 27 cp $src/README $src/NEWS $install/usr/share/doc |
pascal@20053 | 28 cp $src/gdisk $src/cgdisk $src/sgdisk $src/fixparts $fs/usr/bin |
mojo@20052 | 29 } |