wok-next diff 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 diff
1.1 --- a/parted/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/parted/receipt Sat Mar 10 17:39:42 2018 +0200 1.3 @@ -7,38 +7,28 @@ 1.4 MAINTAINER="pankso@slitaz.org" 1.5 LICENSE="GPL3" 1.6 WEB_SITE="http://www.gnu.org/software/parted/index.shtml" 1.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/parted.html" 1.8 1.9 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.11 -TARBALL="$PACKAGE-$VERSION.tar.xz" 1.12 1.13 BUILD_DEPENDS="gettext util-linux-uuid-dev readline-dev check-dev texinfo" 1.14 SPLIT="parted-dev" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 -# grep -qs 'define u8' libparted/arch/linux.c || 1.20 -# sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libparted/arch/linux.c 1.21 - 1.22 - # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/parted.html 1.23 +compile_rules() { 1.24 ./configure \ 1.25 --disable-static \ 1.26 - --disable-device-mapper \ 1.27 $CONFIGURE_ARGS && 1.28 make && 1.29 make -C doc html && 1.30 makeinfo --html -o doc/html doc/parted.texi && 1.31 makeinfo --plaintext -o doc/parted.txt doc/parted.texi && 1.32 - make install && 1.33 - docdir="$install/usr/share/doc/parted-$VERSION" && 1.34 - mkdir -p $docdir/html && 1.35 - install -v -m644 doc/html/* $docdir/html && 1.36 - install -v -m644 doc/FAT doc/API doc/parted.txt doc/parted.html $docdir 1.37 + make install || return 1 1.38 + 1.39 + cook_pick_docs doc/html/ doc/FAT doc/API doc/parted.txt doc/parted.html 1.40 } 1.41 1.42 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 -genpkg_rules() 1.44 -{ 1.45 +genpkg_rules() { 1.46 case $PACKAGE in 1.47 parted) 1.48 copy *.so* sbin/