wok-current view xorg-xproto/receipt @ rev 15860
libmowgli: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 30 09:02:32 2014 +0000 (2014-01-30) |
parents | 5ddb4d29b420 |
children | 97a4bdecaed7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xproto"
4 VERSION="7.0.24"
5 CATEGORY="development"
6 SHORT_DESC="Xproto headers"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://www.x.org/"
10 SOURCE="xproto"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
14 DEPENDS="xorg-util-macros 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 }