wok-current view util-linux-ng/receipt @ rev 11925
dropbox removed extension from desktop file
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 29 15:12:55 2012 -0800 (2012-02-29) |
parents | 163676c61a63 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng"
4 VERSION="2.19.1"
5 CATEGORY="meta"
6 SHORT_DESC="Util linux new generation (Meta package to build utility ans libs)."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="util-linux"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
11 WGET_URL="http://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.19/$TARBALL"
12 COOK_OPT="!fs"
13 LOCALE=""
15 DEPENDS=""
16 BUILD_DEPENDS="ncurses-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 # fix findmnt
23 patch -p1 -i $stuff/fix-findmnt.patch
24 # fix cfdisk partition changing, included in next upstream release
25 patch -p1 -i $stuff/util-linux-ng-cfdisk.patch
27 if ! grep 'tty:x:4:' /etc/group; then
28 addgroup -g 4 tty
29 fi
30 grep -qs 'define u8' fdisk/fdisksunlabel.c ||
31 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' fdisk/fdisksunlabel.c
32 ./configure \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 --with-fsprobe=builtin \
36 --enable-partx \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/bin
46 }