wok-6.x view xorg-resourceproto/receipt @ rev 23861
xvkbd: fix fetch,compile,and genpkg
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jun 19 01:26:32 2020 -0400 (2020-06-19) |
parents | d0789f295132 |
children | 5d79829fa876 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-resourceproto"
4 VERSION="1.2.0"
5 CATEGORY="development"
6 SHORT_DESC="Resource extension headers"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/"
10 SOURCE="resourceproto"
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 }