wok-next annotate xorg-xf86-video-sunleo/receipt @ rev 20113

Add some bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 30 09:29:31 2017 +0100 (2017-10-30)
parents
children 757d032c55c7
rev   line source
al@19805 1 # SliTaz package receipt v2.
al@19805 2
al@19805 3 PACKAGE="xorg-xf86-video-sunleo"
al@19805 4 VERSION="1.2.2"
al@19805 5 CATEGORY="x-window"
al@19805 6 SHORT_DESC="Xorg driver for Sun Leo (ZX) video cards"
al@19805 7 MAINTAINER="al.bobylev@gmail.com"
al@19805 8 LICENSE="MIT"
al@19805 9 WEB_SITE="https://www.x.org/wiki/"
al@19805 10
al@19805 11 TARBALL="xf86-video-sunleo-$VERSION.tar.bz2"
al@19805 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
al@19805 13
al@19805 14 BUILD_DEPENDS="xorg-server-dev xorg-libXfont2-dev"
al@19805 15 SPLIT="xorg-xf86-video-sunleo-dev"
al@19805 16 PKG_RULE="std-dev"
al@19805 17
al@19805 18 # Rules to configure and make the package.
al@19805 19 compile_rules()
al@19805 20 {
al@19805 21 ./configure \
al@19805 22 --sysconfdir=/etc \
al@19805 23 --localstatedir=/var \
al@19805 24 $CONFIGURE_ARGS &&
al@19805 25 make &&
al@19805 26 make install
al@19805 27 }
al@19805 28
al@19805 29 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19805 30 genpkg_rules()
al@19805 31 {
al@19805 32 case $PACKAGE in
al@19805 33 *-sunleo)
al@19805 34 copy @std
al@19805 35 DEPENDS="xorg-server"
al@19805 36 TAGS="xorg display"
al@19805 37 ;;
al@19805 38 *-dev)
al@19805 39 copy @dev
al@19805 40 DEPENDS="xorg-xf86-video-sunleo xorg-server-dev"
al@19805 41 ;;
al@19805 42 esac
al@19805 43 }