wok-6.x view util-linux/receipt @ rev 13498
Add libaio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 13 10:52:34 2012 +0200 (2012-10-13) |
parents | 64e7fff3f73c |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux"
4 VERSION="2.21.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.xz"
10 WEB_SITE="http://freecode.com/projects/util-linux/"
11 WGET_URL="http://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/$TARBALL"
12 HOST_ARCH="i486 arm"
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 undeclared 'LINE_MAX'
23 case "$ARCH" in
24 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;;
25 esac
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --with-fsprobe=builtin \
30 --enable-partx \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 }