wok-next view parted/receipt @ rev 20474

Tiny edits... (again)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 10 17:39:42 2018 +0200 (2018-03-10)
parents c4e53a39395a
children b19ddba309f9
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-static \
21 $CONFIGURE_ARGS &&
22 make &&
23 make -C doc html &&
24 makeinfo --html -o doc/html doc/parted.texi &&
25 makeinfo --plaintext -o doc/parted.txt doc/parted.texi &&
26 make install || return 1
28 cook_pick_docs doc/html/ doc/FAT doc/API doc/parted.txt doc/parted.html
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 parted)
34 copy *.so* sbin/
35 DEPENDS="ncurses readline util-linux-blkid util-linux-uuid"
36 SUGGESTED="btrfs-progs e2fsprogs f2fs-tools dosfstools mtools \
37 hfsutils hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs \
38 reiser4progs reiserfsprogs xfsprogs"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="parted util-linux-blkid-dev util-linux-uuid-dev"
43 ;;
44 esac
45 }