wok-current view xorg-randrproto/receipt @ rev 15685

linux-lxc: add post_install() for update menu.lst
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 07:21:07 2013 +0100 (2013-12-21)
parents 5ddb4d29b420
children e68abb67e0b5
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-randrproto"
4 VERSION="1.4.0"
5 CATEGORY="development"
6 SHORT_DESC="Randr extension headers"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://www.x.org/"
10 SOURCE="randrproto"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
14 DEPENDS="xorg-renderproto pkg-config"
15 BUILD_DEPENDS="xorg-util-macros"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/licenses
32 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
34 cp -a $install/* $fs
35 rm -rf $fs/usr/share/doc
36 }