CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pkgutils: updated to 5.40.7
[crossrootfs.git]
/
kbd
/
Pkgfile
diff --git
a/kbd/Pkgfile
b/kbd/Pkgfile
index ce045d1f525e69f21b812559664b1a93ab0afc5c..31712a5d5b7f5241bb6dc67cbc1cc3603de3151c 100644
(file)
--- a/
kbd/Pkgfile
+++ b/
kbd/Pkgfile
@@
-5,18
+5,13
@@
# Depends on:
name=kbd
# Depends on:
name=kbd
-version=2.0.
1
+version=2.0.
4
release=1
release=1
-source=(
ftp://ftp.altlinux.org/pub/people/legion/kbd/$name-$version.tar.g
z)
+source=(
http://ftp.kernel.org/pub/linux/utils/$name/$name-$version.tar.x
z)
build() {
cd $name-$version
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
export CC="$CC" RANLIB="$RANLIB"
cat > config.cache <<EOF
@@
-28,7
+23,6
@@
EOF
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
--datadir=/usr/share/kbd \
--disable-vlock \
--disable-nls \
--datadir=/usr/share/kbd \
--disable-vlock \
--disable-nls \
@@
-40,7
+34,7
@@
EOF
rm -r $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}
rm $PKG/usr/bin/{loadunimap,mapscrn,psf*table}
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
}
find $PKG/usr/share/kbd/ -type f -name "README*" -delete
}