wok-next view parted/receipt @ rev 20931
pygobject3 -> python-pygobject (latest); pygobject -> python-pygobject2 (legacy)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 08:03:04 2018 +0300 (2018-08-23) |
parents | 757d032c55c7 |
children | f48456621a9d |
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 glib-dev"
17 SPLIT="parted-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 }