wok-next view xorg-xmodmap/receipt @ rev 10793

squid: use --with-logdir=, install errors templates, touch cache.log and chown -R in post_install (Thanks for the report Allan)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jun 02 17:33:12 2011 +0200 (2011-06-02)
parents 07ae722ec64e
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xmodmap"
4 VERSION="1.0.5"
5 CATEGORY="x-window"
6 SHORT_DESC="X keyboard and mouse configuration utility."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-libX11"
9 BUILD_DEPENDS="xorg-libX11-dev"
10 SOURCE="xmodmap"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 }