wok annotate xorg-xf86-video-radeonhd/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 814c58f64f83
children
rev   line source
pascal@11203 1 # SliTaz package receipt.
pascal@11203 2
pascal@11203 3 PACKAGE="xorg-xf86-video-radeonhd"
pascal@11203 4 VERSION="1.3.0"
pascal@11203 5 CATEGORY="x-window"
pascal@11203 6 SHORT_DESC="Xorg server ATI Radeon HD driver."
pascal@11203 7 MAINTAINER="lufeng369@slitaz.org"
pascal@15579 8 LICENSE="MIT"
pascal@11203 9 SOURCE="xf86-video-radeonhd"
pascal@11203 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20423 11 WEB_SITE="https://www.x.org/"
pascal@11203 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pascal@11203 13
pascal@15579 14 DEPENDS="xorg xorg-server"
pascal@15579 15 BUILD_DEPENDS="xorg-server-dev xorg-libpciaccess-dev xorg-xproto xorg-fontsproto"
pascal@15579 16
pascal@24072 17 current_version()
pascal@24072 18 {
pascal@24072 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 21 }
pascal@24072 22
pascal@11203 23 # Rules to configure and make the package.
pascal@11203 24 compile_rules()
pascal@11203 25 {
pascal@11203 26 cd $src
pascal@11203 27 ./configure \
pascal@11203 28 --prefix=/usr \
pascal@11203 29 --sysconfdir=/etc \
pascal@11203 30 --mandir=/usr/share/man \
pascal@11203 31 --localstatedir=/var \
pascal@11203 32 --with-xorg-module-dir=/usr/lib/X11/modules \
pascal@11203 33 $CONFIGURE_ARGS &&
pascal@11203 34 make &&
pascal@15579 35 make DESTDIR=$DESTDIR install
pascal@11203 36 }
pascal@11203 37
pascal@11203 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11203 39 genpkg_rules()
pascal@11203 40 {
pascal@11203 41 mkdir -p $fs/usr/lib/X11/modules/drivers/
pascal@15579 42 cp -a $install/usr/lib/X11/modules/drivers/*.so \
pascal@11203 43 $fs/usr/lib/X11/modules/drivers/
pascal@11203 44 }