wok-next view parted/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents b19ddba309f9
children 91196fd023de
line source
1 # SliTaz package receipt v2.
3 PACKAGE="parted"
4 VERSION="3.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU parted partition editor"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/parted.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="gettext util-linux-uuid-dev readline-dev check-dev texinfo"
16 SPLIT="parted-dev"
18 compile_rules() {
19 ./configure \
20 --disable-device-mapper \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make -C doc html &&
26 makeinfo --html -o doc/html doc/parted.texi &&
27 makeinfo --plaintext -o doc/parted.txt doc/parted.texi &&
28 make install || return 1
30 cook_pick_docs doc/html/ doc/FAT doc/API doc/parted.txt doc/parted.html
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 parted)
36 copy @std
37 DEPENDS="ncurses readline util-linux-blkid util-linux-uuid"
38 SUGGESTED="btrfs-progs e2fsprogs f2fs-tools dosfstools mtools \
39 hfsutils hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs \
40 reiser4progs reiserfsprogs xfsprogs"
41 ;;
42 *-dev)
43 copy @dev
44 ;;
45 esac
46 }