wok-current annotate xorg-xf86-video-ast/receipt @ rev 25035
Up libqcow (20210419)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 20 18:11:13 2022 +0000 (2022-05-20) |
parents | 814c58f64f83 |
children |
rev | line source |
---|---|
pascal@19564 | 1 # SliTaz package receipt. |
pascal@19564 | 2 |
pascal@19564 | 3 PACKAGE="xorg-xf86-video-ast" |
pascal@19564 | 4 VERSION="1.1.5" |
pascal@19564 | 5 CATEGORY="x-window" |
pascal@19564 | 6 SHORT_DESC="Xorg server ASpeed Technologies graphics driver." |
pascal@19564 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19564 | 8 LICENSE="MIT" |
pascal@19564 | 9 SOURCE="xf86-video-ast" |
pascal@19564 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20423 | 11 WEB_SITE="https://www.x.org/" |
pascal@19564 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pascal@19564 | 13 TAGS="xorg display" |
pascal@19564 | 14 |
pascal@19564 | 15 DEPENDS="xorg-server" |
pascal@19564 | 16 BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev" |
pascal@19564 | 17 |
pascal@19564 | 18 MODS='/usr/lib/X11/modules' |
pascal@19564 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pascal@19564 | 26 # Rules to configure and make the package. |
pascal@19564 | 27 compile_rules() |
pascal@19564 | 28 { |
pascal@19564 | 29 ./configure \ |
pascal@19564 | 30 --sysconfdir=/etc \ |
pascal@19564 | 31 --mandir=/usr/share/man \ |
pascal@19564 | 32 --localstatedir=/var \ |
pascal@19564 | 33 --with-xorg-module-dir=$MODS \ |
pascal@19564 | 34 $CONFIGURE_ARGS && |
pascal@19564 | 35 make && make install |
pascal@19564 | 36 } |
pascal@19564 | 37 |
pascal@19564 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19564 | 39 genpkg_rules() |
pascal@19564 | 40 { |
pascal@19564 | 41 mkdir -p ${fs}${MODS}/drivers |
pascal@19564 | 42 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/ |
pascal@19564 | 43 } |