wok-next annotate parted/receipt @ rev 16603
Small fix to libmcp23s17 + libpifacedigital
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 07 17:53:40 2014 +0200 (2014-05-07) |
parents | 2b9f96603415 |
children | 30d223dc104f |
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" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@12488 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@136 | 10 WEB_SITE="http://www.gnu.org/software/parted/index.shtml" |
pankso@136 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@16381 | 12 HOST_ARCH="i486 arm" |
pankso@136 | 13 |
pankso@12488 | 14 DEPENDS="util-linux-uuid util-linux-blkid" |
pankso@12488 | 15 BUILD_DEPENDS="e2fsprogs-dev util-linux-uuid-dev util-linux-blkid-dev" |
pankso@9902 | 16 |
pankso@136 | 17 # Rules to configure and make the package. |
pankso@136 | 18 compile_rules() |
pankso@136 | 19 { |
pascal@6114 | 20 grep -qs 'define u8' libparted/arch/linux.c || |
pascal@6114 | 21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ |
pascal@6114 | 22 libparted/arch/linux.c |
pankso@136 | 23 ./configure \ |
pankso@136 | 24 --disable-debug \ |
pankso@136 | 25 --disable-Werror \ |
pankso@136 | 26 --without-readline \ |
slaxemulator@10075 | 27 --disable-device-mapper \ |
slaxemulator@10075 | 28 $CONFIGURE_ARGS && |
pankso@9902 | 29 make && make install |
pankso@136 | 30 } |
pankso@136 | 31 |
pankso@136 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@136 | 33 genpkg_rules() |
pankso@136 | 34 { |
pankso@12488 | 35 mkdir -p $fs/usr/lib |
pankso@12488 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12488 | 37 cp -a $install/usr/sbin $fs/usr |
pankso@136 | 38 } |