Added util-linux-2.12r template.
--HG-- extra : convert_revision : 93aed888a20c2cfb85a77ffa6634771e61adffe1
This commit is contained in:
parent
5f97587bc8
commit
fbc361f995
2 changed files with 35 additions and 0 deletions
12
templates/util-linux-fix-build.diff
Normal file
12
templates/util-linux-fix-build.diff
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- disk-utils/fsck.cramfs.c.orig 2008-10-23 00:59:51.000000000 +0200
|
||||
+++ disk-utils/fsck.cramfs.c 2008-10-23 01:00:24.000000000 +0200
|
||||
@@ -76,7 +76,9 @@ static uid_t euid; /* effective UID */
|
||||
|
||||
#define PAD_SIZE 512
|
||||
|
||||
+#ifdef HAVE_asm_page_h
|
||||
#include <asm/page.h>
|
||||
+#endif
|
||||
#ifdef PAGE_SIZE
|
||||
#define PAGE_CACHE_SIZE ((int) PAGE_SIZE)
|
||||
#elif defined __ia64__
|
23
templates/util-linux.tmpl
Normal file
23
templates/util-linux.tmpl
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'util-linux'
|
||||
pkgname=util-linux
|
||||
version=2.12r
|
||||
patch_files="$pkgname-fix-build.diff"
|
||||
distfiles="http://www.kernel.org/pub/linux/utils/util-linux/$pkgname-$version@.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
make_install_args="ETC_DIR=$XBPS_DESTDIR/$pkgname-$version/etc
|
||||
SBIN_DIR=$XBPS_DESTDIR/$pkgname-$version/sbin
|
||||
USRSBIN_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/sbin
|
||||
USRLIB_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/lib
|
||||
USRBIN_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/bin
|
||||
USRSHAREMISC_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/share/misc
|
||||
LOCALE_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/share/locale
|
||||
BIN_DIR=$XBPS_DESTDIR/$pkgname-$version/bin
|
||||
VAR_PATH=$XBPS_DESTDIR/$pkgname-$version/var
|
||||
LOG_DIR=$XBPS_DESTDIR/$pkgname-$version/log
|
||||
MAN_DIR=$XBPS_DESTDIR/$pkgname-$version/share/man
|
||||
INFO_DIR=$XBPS_DESTDIR/$pkgname-$version/share/info"
|
||||
short_desc="Random collection of Linux utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=b8e499b338ce9fbd1fb315194b26540ec823c0afc46c9e145ac7a3e38ad57e6b
|
||||
long_desc="
|
||||
util-linux is a random collection of Linux utilities."
|
Loading…
Reference in a new issue