wok annotate accessx/receipt @ rev 9404
Up: slitaz-mercurial-style to 1.0.7. You didn't tag. Also no need for high jumps since it will make everything else 2.0.x for linearer versioning.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Mar 27 18:50:59 2011 +0000 (2011-03-27) |
parents | 15ac6124bf79 |
children | cbfb348cb173 |
rev | line source |
---|---|
paul@6527 | 1 # SliTaz package receipt. |
paul@6527 | 2 |
paul@6527 | 3 PACKAGE="accessx" |
paul@6527 | 4 VERSION="0.951" |
paul@6527 | 5 CATEGORY="utilities" |
paul@6527 | 6 SHORT_DESC="Set and display Xkeyboard (XCB) Accessx features." |
paul@6527 | 7 MAINTAINER="paul@slitaz.org" |
paul@6527 | 8 DEPENDS="tk tcl" |
paul@6527 | 9 BUILD_DEPENDS="xorg-libX11-dev" |
paul@6527 | 10 TARBALL="accessx0951.tar.gz" |
paul@6527 | 11 WEB_SITE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php" |
paul@6527 | 12 WGET_URL="http://cita.disability.uiuc.edu/software/accessx/files/$TARBALL" |
paul@6527 | 13 |
paul@6527 | 14 # Rules to configure and make the package. |
paul@6527 | 15 compile_rules() |
paul@6527 | 16 { |
paul@6527 | 17 mv $PACKAGE $PACKAGE-$VERSION 2> /dev/null |
paul@6527 | 18 cd $src |
paul@6527 | 19 # Patch for deprecated <iostream.h> |
gokhlayeh@8615 | 20 patch -p0 < ../stuff/accessx.diff || return 1 |
paul@6527 | 21 make |
paul@6527 | 22 } |
paul@6527 | 23 |
paul@6527 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@6527 | 25 genpkg_rules() |
paul@6527 | 26 { |
paul@6527 | 27 mkdir -p $fs/usr/bin |
paul@6527 | 28 cp -a $src/ax $fs/usr/bin |
paul@6527 | 29 cp -a $src/accessx $fs/usr/bin |
paul@6527 | 30 |
paul@6527 | 31 # Change owner & perms accessx |
paul@6527 | 32 chown root.root $fs/usr/bin/accessx |
paul@6527 | 33 chmod 0755 $fs/usr/bin/accessx |
paul@6527 | 34 } |
paul@6527 | 35 |