wok-6.x annotate parted/receipt @ rev 10017
thunar-archive-plugin: fix bdeps
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu May 19 12:28:58 2011 +0200 (2011-05-19) |
parents | e5ae411e1d8c |
children | bfdad5e4caeb |
rev | line source |
---|---|
pankso@136 | 1 # SliTaz package receipt. |
pankso@136 | 2 |
pankso@136 | 3 PACKAGE="parted" |
devl547@5662 | 4 VERSION="2.3" |
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 \ |
pankso@9902 | 26 --disable-device-mapper && |
pankso@9902 | 27 make && make install |
pankso@136 | 28 } |
pankso@136 | 29 |
pankso@136 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@136 | 31 genpkg_rules() |
pankso@136 | 32 { |
pankso@136 | 33 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@136 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@136 | 35 cp -a $_pkg/usr/sbin $fs/usr |
pankso@136 | 36 } |