wok-next view parted/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents f48456621a9d
children
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="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/parted.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="gettext-dev util-linux-uuid-dev readline-dev check-dev texinfo \
16 glib-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --disable-device-mapper \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make -C doc html &&
27 makeinfo --html -o doc/html doc/parted.texi &&
28 makeinfo --plaintext -o doc/parted.txt doc/parted.texi &&
29 make install || return 1
31 cook_pick_docs doc/html/ doc/FAT doc/API doc/parted.txt doc/parted.html
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 parted)
37 copy @std
38 DEPENDS="ncurses readline util-linux-blkid util-linux-uuid"
39 SUGGESTED="btrfs-progs e2fsprogs f2fs-tools dosfstools mtools \
40 hfsutils hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs \
41 reiser4progs reiserfsprogs xfsprogs"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }