CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openssl: updated to 1.0.2d
[ports/core-arm.git] / kbd / Pkgfile
index da7261ccd6d9c36d64df91fd77208737e88fe45e..1f2caa99f3069929af6ef52211d6ca3de45bc166 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.2
 release=1
-source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/$name-$version.tar.gz)
+source=(ftp://ftp.kernel.org/pub/linux/utils/$name/$name-$version.tar.xz)
 
 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