wok annotate xorg-xf86-input-mouse/receipt @ rev 14604
Xorg marathon. Day 1. (Carefully check versions, (build-)depends, pretty-print receipts)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 31 00:58:07 2013 +0000 (2013-05-31) |
parents | c514cc4854d8 |
children | eb8067417980 |
rev | line source |
---|---|
pankso@88 | 1 # SliTaz package receipt. |
pankso@88 | 2 |
pankso@88 | 3 PACKAGE="xorg-xf86-input-mouse" |
slaxemulator@9254 | 4 VERSION="1.7.0" |
pankso@88 | 5 CATEGORY="x-window" |
pankso@88 | 6 SHORT_DESC="Xorg server protocol." |
pankso@88 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-server" |
slaxemulator@8029 | 9 BUILD_DEPENDS="xorg-server-dev" |
pankso@88 | 10 SOURCE="xf86-input-mouse" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
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 |