wok-next annotate parted/receipt @ rev 14564
eina-dev: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 23 19:35:56 2013 +0200 (2013-05-23) |
parents | 73641efed1cc |
children | 2b9f96603415 |
rev | line source |
---|---|
pankso@136 | 1 # SliTaz package receipt. |
pankso@136 | 2 |
pankso@136 | 3 PACKAGE="parted" |
pankso@12488 | 4 VERSION="3.1" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@136 | 6 SHORT_DESC="GNU parted partition editor." |
pankso@136 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@12488 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
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@12488 | 12 DEPENDS="util-linux-uuid util-linux-blkid" |
pankso@12488 | 13 BUILD_DEPENDS="e2fsprogs-dev util-linux-uuid-dev util-linux-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@12488 | 34 mkdir -p $fs/usr/lib |
pankso@12488 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12488 | 36 cp -a $install/usr/sbin $fs/usr |
pankso@136 | 37 } |