wok-next annotate gtkglext/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | d6378d455338 |
children | d5aab818505e |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
pankso@4321 | 2 |
pankso@4321 | 3 PACKAGE="gtkglext" |
pankso@4321 | 4 VERSION="1.2.0" |
pankso@4321 | 5 CATEGORY="x-window" |
al@20456 | 6 SHORT_DESC="GtkGLExt is an OpenGL extension to GTK+" |
pankso@4321 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20456 | 9 WEB_SITE="http://gtkglext.sourceforge.net/" |
al@20456 | 10 |
slaxemulator@7694 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4321 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13796 | 13 |
al@21017 | 14 BUILD_DEPENDS="gtk2-dev glu glu-dev mesa-dev \ |
pascal@20007 | 15 util-linux-uuid-dev autoconf pangox-compat-dev expat-dev xorg-libxshmfence-dev" |
al@20456 | 16 SPLIT="gtkglext-dev" |
pankso@4321 | 17 |
al@20456 | 18 compile_rules() { |
slaxemulator@7425 | 19 autoconf --force |
al@20550 | 20 ./configure $CONFIGURE_ARGS && |
al@20575 | 21 fix libtool && |
pankso@4321 | 22 make && |
pascal@13796 | 23 make DESTDIR=$DESTDIR install |
pankso@4321 | 24 } |
pankso@4321 | 25 |
al@20456 | 26 genpkg_rules() { |
al@20456 | 27 case $PACKAGE in |
al@20456 | 28 gtkglext) |
al@20550 | 29 copy @std |
al@21017 | 30 DEPENDS="gtk2 mesa glu pangox-compat" |
al@20456 | 31 SUGGESTED="nvidia" |
al@20456 | 32 ;; |
al@20456 | 33 *-dev) |
al@20550 | 34 copy @dev |
al@20456 | 35 DEPENDS="gtkglext pangox-compat-dev" |
al@20456 | 36 ;; |
al@20456 | 37 esac |
pankso@4321 | 38 } |