Simplify templates by not needing $patch_files in some cases.

If exists a patch called $pkgname-fix-{build,install}.diff in the
templates directory, they will be applied automatically. If patches
are named differently $patch_files must be used yet.

--HG--
extra : convert_revision : 21f6edfab580c569b3737280f54a6332c44baa49
This commit is contained in:
Juan RP
2008-10-27 04:08:55 +01:00
parent c06defc719
commit 5ef5ca8d35
12 changed files with 8 additions and 11 deletions

View File

@@ -1,7 +1,6 @@
# 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
CFLAGS="-I/usr/include"