wok-stable view parted/receipt @ rev 9490
Up: pygobject to 2.28.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 05 14:53:23 2011 +0000 (2011-04-05) |
parents | 02bbaa9d12ba |
children | c495ec2fb86d |
line source
1 # SliTaz package receipt.
3 PACKAGE="parted"
4 VERSION="2.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU parted partition editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="util-linux-ng-uuid"
9 BUILD_DEPENDS="e2fsprogs-dev util-linux-ng-uuid-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 grep -qs 'define u8' libparted/arch/linux.c ||
19 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
20 libparted/arch/linux.c
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --disable-debug \
26 --disable-Werror \
27 --without-readline \
28 --disable-device-mapper \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share/locale
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp -a $_pkg/usr/sbin $fs/usr
41 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
42 }