wok-next annotate glu/receipt @ rev 20979
Build vifm
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Sep 27 01:38:02 2018 +0300 (2018-09-27) |
parents | a5d7827e08cf |
children | f48456621a9d |
rev | line source |
---|---|
al@20502 | 1 # SliTaz package receipt v2. |
al@20502 | 2 |
al@20502 | 3 PACKAGE="glu" |
al@20502 | 4 VERSION="9.0.0" |
al@20502 | 5 CATEGORY="x-window" |
al@20502 | 6 SHORT_DESC="Mesa OpenGL Utility library" |
al@20502 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
al@20502 | 8 LICENSE="MIT" |
al@20906 | 9 WEB_SITE="https://www.mesa3d.org/" |
al@20502 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/glu.html" |
al@20502 | 11 |
al@20502 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20502 | 13 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/glu/$TARBALL" |
al@20502 | 14 |
al@20502 | 15 BUILD_DEPENDS="mesa-dev automake autoconf libtool expat-dev xorg-dev \ |
al@20502 | 16 xorg-libxshmfence-dev" |
al@20502 | 17 SPLIT="glu-dev" |
al@20502 | 18 |
al@20502 | 19 compile_rules() { |
al@20502 | 20 ./configure \ |
al@20502 | 21 --disable-static \ |
al@20502 | 22 $CONFIGURE_ARGS && |
al@20570 | 23 fix libtool && |
al@20570 | 24 make $MAKEFLAGS && |
al@20570 | 25 make install |
al@20502 | 26 } |
al@20502 | 27 |
al@20502 | 28 genpkg_rules() { |
al@20502 | 29 case $PACKAGE in |
al@20502 | 30 glu) |
al@20502 | 31 copy @std |
al@20502 | 32 DEPENDS="glibc-base gcc-lib-base mesa" |
al@20502 | 33 PROVIDE="libglu" |
al@20502 | 34 ;; |
al@20502 | 35 *-dev) |
al@20502 | 36 copy @dev |
al@20502 | 37 ;; |
al@20502 | 38 esac |
al@20502 | 39 } |