wok-6.x annotate xorg-xf86-input-mouse/receipt @ rev 3270
mhwaveedit: Add chinese name and comment to mhwaveedit.desktop
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Tue Jun 02 12:38:19 2009 +0800 (2009-06-02) |
parents | 6a6ba65f2ad7 |
children | 5b6b81ccd958 |
rev | line source |
---|---|
pankso@88 | 1 # SliTaz package receipt. |
pankso@88 | 2 |
pankso@88 | 3 PACKAGE="xorg-xf86-input-mouse" |
pankso@3016 | 4 VERSION="1.3.0" |
pankso@88 | 5 CATEGORY="x-window" |
pankso@88 | 6 SHORT_DESC="Xorg server protocol." |
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-mouse" |
pankso@88 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@88 | 12 WEB_SITE="http://www.x.org/" |
pankso@88 | 13 WGET_URL="$XORG_MIRROR/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 |