wok-6.x view parted/receipt @ rev 7462
Up: gst-plugins-base to 0.10.31.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 30 20:57:50 2010 +0000 (2010-11-30) |
parents | 7c0c08ab9479 |
children | 02bbaa9d12ba |
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
43 strip -s $fs/usr/lib/* 2>/dev/null
44 strip -s $fs/usr/sbin/* 2>/dev/null
45 }