wok-6.x view xorg-libpciaccess/receipt @ rev 25479

created recipes for py3k-llfuse and py3k-secretstorage
author Hans-G?nter Theisgen
date Mon Oct 17 07:20:04 2022 +0100 (2022-10-17)
parents 76efaaed0bc2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libpciaccess"
4 VERSION="0.16"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server module."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="libpciaccess"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 HOST_ARCH="i486 arm"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --sysconfdir=/etc \
28 --mandir=/usr/share/man \
29 --localstatedir=/var \
30 $CONFIGURE_ARGS
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }