wok annotate xorg-xf86-input-vmmouse/receipt @ rev 24133
Up tazinst (115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 15:17:56 2021 +0000 (2021-10-23) |
parents | 7295feaeec82 |
children |
rev | line source |
---|---|
slaxemulator@7614 | 1 # SliTaz package receipt. |
slaxemulator@7614 | 2 |
slaxemulator@7614 | 3 PACKAGE="xorg-xf86-input-vmmouse" |
Hans-G?nter@22267 | 4 VERSION="13.1.0" |
slaxemulator@7614 | 5 CATEGORY="x-window" |
slaxemulator@7614 | 6 SHORT_DESC="X.org VMWare Mouse Input driver." |
slaxemulator@7614 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22267 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22267 | 10 |
slaxemulator@7614 | 11 SOURCE="xf86-input-vmmouse" |
slaxemulator@7614 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@7614 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
slaxemulator@7614 | 14 |
pascal@15579 | 15 DEPENDS="xorg-server" |
pascal@15579 | 16 BUILD_DEPENDS="xorg-server-dev" |
pascal@15579 | 17 |
pascal@24072 | 18 current_version() |
pascal@24072 | 19 { |
pascal@24072 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 22 } |
pascal@24072 | 23 |
slaxemulator@7614 | 24 # Rules to configure and make the package. |
slaxemulator@7614 | 25 compile_rules() |
slaxemulator@7614 | 26 { |
Hans-G?nter@22267 | 27 ./configure \ |
Hans-G?nter@22267 | 28 --prefix=/usr \ |
Hans-G?nter@22267 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@22267 | 30 --mandir=/usr/share/man \ |
Hans-G?nter@22267 | 31 --with-xorg-conf-dir=/etc/X11/xorg.conf.d \ |
slaxemulator@7614 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@22267 | 33 make && |
Hans-G?nter@22267 | 34 make DESTDIR=$DESTDIR install |
slaxemulator@7614 | 35 } |
slaxemulator@7614 | 36 |
slaxemulator@7614 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7614 | 38 genpkg_rules() |
slaxemulator@7614 | 39 { |
slaxemulator@7614 | 40 mkdir -p $fs/usr |
Hans-G?nter@22267 | 41 |
Hans-G?nter@22267 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22267 | 43 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22267 | 44 cp -a $install/etc $fs |
slaxemulator@7614 | 45 } |