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 b381ba13d9e952104007e6b1eae9a9280ab00c17..1f2caa99f3069929af6ef52211d6ca3de45bc166 100644 (file)
@@ -5,16 +5,22 @@
 # 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