rev |
line source |
pankso@88
|
1 # SliTaz package receipt.
|
pankso@88
|
2
|
pankso@88
|
3 PACKAGE="xorg-xf86-input-keyboard"
|
pankso@5304
|
4 VERSION="1.4.0"
|
pankso@88
|
5 CATEGORY="x-window"
|
pankso@346
|
6 SHORT_DESC="Xorg server keyboard driver."
|
pankso@88
|
7 MAINTAINER="pankso@slitaz.org"
|
pascal@1418
|
8 DEPENDS="xorg"
|
pascal@1480
|
9 BUILD_DEPENDS="xorg-server xorg-xproto"
|
pankso@88
|
10 SOURCE="xf86-input-keyboard"
|
pankso@346
|
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
|
pankso@88
|
12 WEB_SITE="http://www.x.org/"
|
pankso@346
|
13 WGET_URL="ftp://ftp.solnet.ch/mirror/x.org/pub/individual/driver/$TARBALL"
|
pankso@88
|
14
|
pankso@88
|
15 # Rules to configure and make the package.
|
pankso@88
|
16 compile_rules()
|
pankso@88
|
17 {
|
pankso@88
|
18 cd $src
|
pankso@444
|
19 ./configure \
|
pankso@444
|
20 --prefix=/usr \
|
pankso@444
|
21 --sysconfdir=/etc \
|
pankso@444
|
22 --mandir=/usr/share/man \
|
pankso@444
|
23 --localstatedir=/var \
|
pankso@444
|
24 --with-xorg-module-dir=/usr/lib/X11/modules \
|
pascal@1480
|
25 $CONFIGURE_ARGS &&
|
pascal@1480
|
26 make &&
|
pankso@88
|
27 make DESTDIR=$PWD/_pkg install
|
pankso@88
|
28 }
|
pankso@88
|
29
|
pankso@88
|
30 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pankso@88
|
31 genpkg_rules()
|
pankso@88
|
32 {
|
pankso@444
|
33 mkdir -p $fs/usr/lib/X11/modules/input/
|
pankso@444
|
34 cp -a $_pkg/usr/lib/X11/modules/input/*.so \
|
pankso@444
|
35 $fs/usr/lib/X11/modules/input/
|
pankso@88
|
36 }
|
pankso@88
|
37
|