Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files and other related stuff are stored there. --HG-- extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
This commit is contained in:
25
templates/util-linux/template
Normal file
25
templates/util-linux/template
Normal file
@@ -0,0 +1,25 @@
|
||||
# Template file for 'util-linux'
|
||||
pkgname=util-linux
|
||||
version=2.12r
|
||||
distfiles="http://www.kernel.org/pub/linux/utils/util-linux/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
CFLAGS="-I/usr/include"
|
||||
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/usr/share/man
|
||||
INFO_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/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."
|
||||
|
||||
build_depends="kernel-libc-headers-2.6.27.3"
|
||||
12
templates/util-linux/util-linux-fix-build.diff
Normal file
12
templates/util-linux/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__
|
||||
Reference in New Issue
Block a user