summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-21 10:17:01 +0100
committerLukc <lukc@upyum.com>2010-12-21 10:17:01 +0100
commitadbfca3f1c6cb484fd60e86f1128f10d403f82de (patch)
treee63e2685e02540d246c17e2f9173ecf77461e44f
parent9297001520e52030027142e2c2eb9982aa17e1e5 (diff)
downloadbase-adbfca3f1c6cb484fd60e86f1128f10d403f82de.tar.gz
base-adbfca3f1c6cb484fd60e86f1128f10d403f82de.tar.bz2
base-adbfca3f1c6cb484fd60e86f1128f10d403f82de.tar.xz
base-adbfca3f1c6cb484fd60e86f1128f10d403f82de.zip
Recette de kbd mise à jour.
-rw-r--r--kbd/Pkgfile14
-rw-r--r--libdevmapper/Pkgfile4
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 <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
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 \