CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openssl: updated to 1.0.2.k
[crossrootfs.git] / kbd / Pkgfile
index 972756575203ab261610d09f751d49e68eaa1bc4..1534034af1af46295b86cdd577efd30838f2a705 100644 (file)
@@ -5,13 +5,18 @@
 # Depends on:
 
 name=kbd
-version=1.15.5
+version=2.0.3
 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
+
   export CC="$CC" RANLIB="$RANLIB"
 
   cat > config.cache <<EOF
@@ -23,7 +28,6 @@ EOF
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --mandir=/usr/man \
               --datadir=/usr/share/kbd \
               --disable-vlock \
               --disable-nls \
@@ -35,7 +39,7 @@ EOF
 
   rm -r $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}
   rm $PKG/usr/bin/{loadunimap,mapscrn,psf*table}
-  rm $PKG/usr/man/man8/{loadunimap,mapscrn}.8
-  rm $PKG/usr/man/man1/psf*table.1
+  rm $PKG/usr/share/man/man8/{loadunimap,mapscrn}.8
+  rm $PKG/usr/share/man/man1/psf*table.1
   find $PKG/usr/share/kbd/ -type f -name "README*" -delete
 }