wok-6.x view util-linux/receipt @ rev 18135
poptop: fix plugin version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 13 17:53:06 2015 +0200 (2015-06-13) |
parents | 5f652b930fb9 |
children | 4f122372e6f6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux"
4 VERSION="2.24"
5 CATEGORY="meta"
6 SHORT_DESC="Util linux new generation (Meta package to build utility ans libs)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="util-linux"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="http://freecode.com/projects/util-linux/"
12 WGET_URL="https://www.kernel.org/pub/linux/utils/util-linux/v$VERSION/$TARBALL"
13 HOST_ARCH="i486 arm"
14 LOCALE=""
16 DEPENDS="ncurses"
17 BUILD_DEPENDS="wget ncurses-dev zlib-dev udev-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
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 }