CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
kbd: update to 2.0.0
[ports/core-arm.git] / kbd / Pkgfile
index da7261ccd6d9c36d64df91fd77208737e88fe45e..7ea8881656cef8cb020cf2f6bf9ec429b4f9f31c 100644 (file)
@@ -2,18 +2,25 @@
 # URL: ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
 
 name=kbd
-version=1.15.3
+version=2.0.0
 release=1
 source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/$name-$version.tar.gz)
 
 build() {
   cd $name-$version
 
+  # we don't want a dependency to 'check'
+  sed -i '/^SUBDIR/s/tests//' Makefile.am
+  sed -i '/\[check >= 0.9.4\]/s/^/#/' configure.ac
+  autoreconf --install
+
   ./configure --prefix=/usr \
               --mandir=/usr/man \
               --datadir=/usr/share/kbd \
+              --disable-vlock \
               --disable-nls
   make
   make DESTDIR=$PKG install