wok-next view xorg-xf86-video-amdgpu/receipt @ rev 20204
libjreen: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 22:50:48 2017 +0100 (2017-11-03) |
parents | |
children | 96912f5312d8 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-xf86-video-amdgpu"
4 VERSION="1.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg driver for AMD RADEON-based video cards"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 TAGS="xorg display"
12 TARBALL="xf86-video-amdgpu-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
15 BUILD_DEPENDS="xorg-util-macros xorg-server-dev libdrm-dev"
16 SPLIT="xorg-xf86-video-amdgpu-dev"
17 PKG_RULE="std-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 *-amdgpu)
35 copy @std
36 DEPENDS="eudev libdrm-amdgpu mesa"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="xorg-xf86-video-amdgpu eudev-dev expat-dev libdrm-dev \
41 mesa-dev"
42 ;;
43 esac
44 }