wok annotate xorg-xf86-video-neomagic/receipt @ rev 24987
grub: add gpt support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 07:08:39 2022 +0000 (2022-05-12) |
parents | 4b8383f91605 |
children |
rev | line source |
---|---|
domcox@1131 | 1 # SliTaz package receipt. |
domcox@1131 | 2 |
domcox@1131 | 3 PACKAGE="xorg-xf86-video-neomagic" |
Hans-G?nter@22275 | 4 VERSION="1.3.0" |
domcox@1131 | 5 CATEGORY="x-window" |
Hans-G?nter@22275 | 6 TAGS="xorg display" |
Hans-G?nter@22275 | 7 SHORT_DESC="Xorg driver for neomagic cards." |
pascal@13025 | 8 MAINTAINER="domcox@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@22275 | 10 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22275 | 11 |
domcox@1131 | 12 SOURCE="xf86-video-neomagic" |
gokhlayeh@6993 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
domcox@1131 | 14 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
domcox@1131 | 15 |
pankso@12530 | 16 DEPENDS="xorg-server" |
pankso@12530 | 17 BUILD_DEPENDS="xorg-server-dev xorg-xf86dgaproto" |
pankso@12530 | 18 |
pankso@12530 | 19 MODS='/usr/lib/X11/modules' |
pankso@12530 | 20 |
pascal@24072 | 21 current_version() |
pascal@24072 | 22 { |
pascal@24072 | 23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 24 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 25 } |
pascal@24072 | 26 |
domcox@1131 | 27 # Rules to configure and make the package. |
domcox@1131 | 28 compile_rules() |
domcox@1131 | 29 { |
Hans-G?nter@22275 | 30 ./configure \ |
Hans-G?nter@22275 | 31 --sysconfdir=/etc \ |
Hans-G?nter@22275 | 32 --mandir=/usr/share/man \ |
Hans-G?nter@22275 | 33 --localstatedir=/var \ |
Hans-G?nter@22275 | 34 --with-xorg-module-dir=$MODS \ |
pankso@12530 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@22275 | 36 make && |
Hans-G?nter@22275 | 37 make install |
domcox@1131 | 38 } |
domcox@1131 | 39 |
domcox@1131 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1131 | 41 genpkg_rules() |
domcox@1131 | 42 { |
pankso@12530 | 43 mkdir -p ${fs}${MODS}/drivers |
pankso@12530 | 44 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
domcox@1131 | 45 } |