wok-next annotate parted/receipt @ rev 20621

Add: fluxcomp, ldns, libndp, libnsl, nghttp2; up: directfb, libevent, libnl, libsoup, links, neon, serf
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 25 13:24:59 2018 +0300 (2018-04-25)
parents b19ddba309f9
children 91196fd023de
rev   line source
al@19816 1 # SliTaz package receipt v2.
pankso@136 2
pankso@136 3 PACKAGE="parted"
pascal@17545 4 VERSION="3.2"
pankso@211 5 CATEGORY="system-tools"
al@19816 6 SHORT_DESC="GNU parted partition editor"
pankso@136 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@19601 9 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
al@20462 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/parted.html"
al@19601 11
al@20462 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19601 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@136 14
al@19816 15 BUILD_DEPENDS="gettext util-linux-uuid-dev readline-dev check-dev texinfo"
al@19816 16 SPLIT="parted-dev"
pankso@9902 17
al@20462 18 compile_rules() {
pankso@136 19 ./configure \
al@20519 20 --disable-device-mapper \
al@19816 21 --disable-static \
slaxemulator@10075 22 $CONFIGURE_ARGS &&
al@20519 23 fix libtool &&
al@19816 24 make &&
al@19816 25 make -C doc html &&
al@19816 26 makeinfo --html -o doc/html doc/parted.texi &&
al@19816 27 makeinfo --plaintext -o doc/parted.txt doc/parted.texi &&
al@20462 28 make install || return 1
al@20462 29
al@20462 30 cook_pick_docs doc/html/ doc/FAT doc/API doc/parted.txt doc/parted.html
pankso@136 31 }
pankso@136 32
al@20462 33 genpkg_rules() {
al@19816 34 case $PACKAGE in
al@19816 35 parted)
al@20519 36 copy @std
al@19816 37 DEPENDS="ncurses readline util-linux-blkid util-linux-uuid"
al@19816 38 SUGGESTED="btrfs-progs e2fsprogs f2fs-tools dosfstools mtools \
al@19816 39 hfsutils hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs \
al@19816 40 reiser4progs reiserfsprogs xfsprogs"
al@19816 41 ;;
al@19816 42 *-dev)
al@19816 43 copy @dev
al@19816 44 ;;
al@19816 45 esac
pankso@136 46 }