wok view util-linux-ng/receipt @ rev 6702

get-OpenOffice3: any localization (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 13 17:18:25 2010 +0200 (2010-10-13)
parents 964f5d384827
children 00973bd72b33
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng"
4 VERSION="2.18"
5 CATEGORY="meta"
6 SHORT_DESC="Util linux new generation (Meta package to build utility ans libs)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 DEPENDS="glibc-base"
10 BUILD_DEPENDS="slitaz-toolchain ncurses-dev e2fsprogs-dev zlib-dev"
11 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
12 WGET_URL="ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v${VERSION%*}/$TARBALL"
13 LOCALE=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # fix findmnt
20 patch -p1 -i ../stuff/fix-findmnt.patch
21 # fix cfdisk partition changing, included in next upstream release
22 patch -p1 -i ../stuff/util-linux-ng-cfdisk.patch
24 if ! grep 'tty:x:4:' /etc/group; then
25 addgroup -g 4 tty
26 fi
27 grep -qs 'define u8' fdisk/fdisksunlabel.c ||
28 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' fdisk/fdisksunlabel.c
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --with-fsprobe=builtin \
33 --enable-partx \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$PWD/_pkg install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/bin
43 }