wok-6.x annotate parted/receipt @ rev 10142
Add fastthread.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 17:46:09 2011 +0000 (2011-05-20) |
parents | c495ec2fb86d |
children | a819813b21c9 |
rev | line source |
---|---|
pankso@136 | 1 # SliTaz package receipt. |
pankso@136 | 2 |
pankso@136 | 3 PACKAGE="parted" |
slaxemulator@10075 | 4 VERSION="2.4" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@136 | 6 SHORT_DESC="GNU parted partition editor." |
pankso@136 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@136 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@136 | 9 WEB_SITE="http://www.gnu.org/software/parted/index.shtml" |
pankso@136 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@136 | 11 |
pankso@9902 | 12 DEPENDS="util-linux-ng-uuid util-linux-ng-blkid" |
pankso@9902 | 13 BUILD_DEPENDS="e2fsprogs-dev util-linux-ng-uuid-dev util-linux-ng-blkid-dev" |
pankso@9902 | 14 |
pankso@136 | 15 # Rules to configure and make the package. |
pankso@136 | 16 compile_rules() |
pankso@136 | 17 { |
pankso@136 | 18 cd $src |
pascal@6114 | 19 grep -qs 'define u8' libparted/arch/linux.c || |
pascal@6114 | 20 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ |
pascal@6114 | 21 libparted/arch/linux.c |
pankso@136 | 22 ./configure \ |
pankso@136 | 23 --disable-debug \ |
pankso@136 | 24 --disable-Werror \ |
pankso@136 | 25 --without-readline \ |
slaxemulator@10075 | 26 --disable-device-mapper \ |
slaxemulator@10075 | 27 $CONFIGURE_ARGS && |
pankso@9902 | 28 make && make install |
pankso@136 | 29 } |
pankso@136 | 30 |
pankso@136 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@136 | 32 genpkg_rules() |
pankso@136 | 33 { |
pankso@136 | 34 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@136 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@136 | 36 cp -a $_pkg/usr/sbin $fs/usr |
pankso@136 | 37 } |