wok view xorg-inputproto/receipt @ rev 22425

graphviz: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 15 18:41:53 2019 +0100 (2019-12-15)
parents 814c58f64f83
children 5d79829fa876
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-inputproto"
4 VERSION="2.3.2"
5 CATEGORY="development"
6 SHORT_DESC="Input extension headers."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="inputproto"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
15 DEPENDS="xorg-xproto pkg-config"
16 BUILD_DEPENDS="xorg-util-macros"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/licenses
36 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
37 cp -a $install/* $fs
38 }