wok-next annotate xorg-libXxf86vm/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | 0e7893ac206d |
children | cd7906120828 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
pankso@3013 | 2 |
domcox@14536 | 3 PACKAGE="xorg-libXxf86vm" |
al@19637 | 4 VERSION="1.1.4" |
pankso@3013 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="XFree86-VidMode extension library" |
pankso@3013 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
al@19805 | 9 WEB_SITE="https://www.x.org/wiki/" |
al@20443 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html" |
al@19637 | 11 |
al@19637 | 12 TARBALL="libXxf86vm-$VERSION.tar.bz2" |
pankso@12519 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@12519 | 14 |
pankso@16021 | 15 BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-xf86vidmodeproto" |
al@19805 | 16 SPLIT="xorg-libXxf86vm-dev" |
pankso@3013 | 17 |
al@20443 | 18 compile_rules() { |
al@20534 | 19 ./configure $CONFIGURE_ARGS && |
al@20443 | 20 fix libtool && |
al@19805 | 21 make && |
al@19805 | 22 make install |
pankso@3013 | 23 } |
pankso@3013 | 24 |
al@20443 | 25 genpkg_rules() { |
al@19805 | 26 case $PACKAGE in |
al@19805 | 27 *-libXxf86vm) |
al@19805 | 28 copy @std |
al@20443 | 29 DEPENDS="xorg-libX11 xorg-libXext" |
al@19805 | 30 ;; |
al@19805 | 31 *-dev) |
al@19805 | 32 copy @dev |
al@20443 | 33 DEPENDS="xorg-libXxf86vm \ |
al@20443 | 34 xorg-libX11-dev xorg-libXext-dev xorg-xf86vidmodeproto" |
al@19805 | 35 ;; |
al@19805 | 36 esac |
pankso@3013 | 37 } |