From adbfca3f1c6cb484fd60e86f1128f10d403f82de Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 10:17:01 +0100 Subject: Recette de kbd mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kbd/Pkgfile | 14 ++++++++------ libdevmapper/Pkgfile | 4 +++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/kbd/Pkgfile b/kbd/Pkgfile index 6226018..d940e17 100644 --- a/kbd/Pkgfile +++ b/kbd/Pkgfile @@ -1,4 +1,4 @@ -description="Keytable files and keyboard utilities" +description="Keytable files and keyboard utilities." packager="CRUX System Team " maintainer="Lukc " url="ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/" @@ -7,11 +7,13 @@ depends=() name=kbd version=1.15.2 release=1 -source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/kbd-1.15.2.tar.gz) +source=(ftp://ftp.altlinux.org/pub/people/legion/$name/$name-$version.tar.gz) build () { cd $name-$version; ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ --prefix=$prefix \ --mandir=$mandir \ --datadir=$sharedir/kbd \ @@ -19,9 +21,9 @@ build () make; make DESTDIR=$PKG install; ln -sf default8x16.psfu.gz $PKG$prefix/share/kbd/consolefonts/default.gz; - rm -r $PKG$prefix/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}; - rm $PKG$prefix/bin/{loadunimap,mapscrn,resizecons,psf*table}; - rm $PKG$mandir/man8/{loadunimap,mapscrn,resizecons}.8; - rm $PKG$mandir/man1/psf*table.1; + rm -f -r $PKG$prefix/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}; + rm -f $PKG$prefix/bin/{loadunimap,mapscrn,resizecons,psf*table}; + rm -f $PKG$mandir/man8/{loadunimap,mapscrn,resizecons}.8; + rm -f $PKG$mandir/man1/psf*table.1; find $PKG$prefix/share/kbd/ -type f -name "README*" -delete } diff --git a/libdevmapper/Pkgfile b/libdevmapper/Pkgfile index cbc728a..0078bfe 100644 --- a/libdevmapper/Pkgfile +++ b/libdevmapper/Pkgfile @@ -7,12 +7,14 @@ depends=() name=libdevmapper version=1.02.59 release=1 -source=(ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.78.tgz lvm2-static_build.patch) +source=(ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.79.tgz lvm2-static_build.patch) build () { cd LVM2.2.02.78; patch -p1 -i $SRC/lvm2-static_build.patch; ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ --prefix=$prefix \ --sbindir=/sbin \ --libdir=/lib \ -- cgit v1.2.3-54-g00ecf