wok-current annotate xorg-randrproto/receipt @ rev 23917

created recipes for lua-ffi and lua-posix
author Hans-G?nter Theisgen
date Wed Aug 19 09:11:10 2020 +0100 (2020-08-19)
parents 814c58f64f83
children 5d79829fa876
rev   line source
pankso@20 1 # SliTaz package receipt.
pankso@20 2
pankso@20 3 PACKAGE="xorg-randrproto"
Hans-G?nter@22222 4 VERSION="1.5.0"
pankso@211 5 CATEGORY="development"
Hans-G?nter@22222 6 SHORT_DESC="Randr extension headers."
pankso@20 7 MAINTAINER="pankso@slitaz.org"
al@14604 8 LICENSE="other"
Hans-G?nter@22222 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22222 10
slaxemulator@14639 11 SOURCE="randrproto"
slaxemulator@14639 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
al@14604 13 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
Hans-G?nter@22222 14
Hans-G?nter@22222 15 DEPENDS="pkg-config xorg-renderproto"
Hans-G?nter@22222 16 BUILD_DEPENDS="xorg-util-macros"
Hans-G?nter@22222 17
pankso@15983 18 HOST_ARCH="i486 arm"
al@14604 19
pankso@20 20 # Rules to configure and make the package.
pankso@20 21 compile_rules()
pankso@20 22 {
Hans-G?nter@22222 23 ./configure \
Hans-G?nter@22222 24 --sysconfdir=/etc \
Hans-G?nter@22222 25 --localstatedir=/var \
al@14604 26 $CONFIGURE_ARGS &&
al@14604 27 make &&
al@14604 28 make install
pankso@20 29 }
pankso@20 30
pankso@20 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@20 32 genpkg_rules()
pankso@20 33 {
al@14604 34 mkdir -p $fs/usr/share/licenses
al@14604 35
Hans-G?nter@22222 36 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
Hans-G?nter@22222 37 cp -a $install/* $fs
Hans-G?nter@22222 38
al@14604 39 rm -rf $fs/usr/share/doc
pankso@20 40 }