wok view xorg-xproto/receipt @ rev 15983
arm: add some Xorg proto pkgs and prepare pkg-config/receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 01 23:51:38 2014 +0100 (2014-03-01) |
parents | 3af9c976b7d4 |
children | 814c58f64f83 |
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"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-util-macros pkg-config"
16 BUILD_DEPENDS="xorg-util-macros"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/licenses
33 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
35 cp -a $install/* $fs
36 rm -rf $fs/usr/share/doc
37 }