wok-next annotate gtkglext/receipt @ rev 20502
Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 00:27:34 2018 +0200 (2018-03-16) |
parents | c3a368c0cddb |
children | e545e47edffa |
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@20502 | 14 BUILD_DEPENDS="gtk+-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@9700 | 19 patch -Np1 -i $stuff/gtk2.20.patch |
slaxemulator@7425 | 20 autoconf --force |
pankso@4321 | 21 ./configure \ |
al@20456 | 22 --prefix=/usr \ |
al@20456 | 23 $CONFIGURE_ARGS && |
pankso@4321 | 24 make && |
pascal@13796 | 25 make DESTDIR=$DESTDIR install |
pankso@4321 | 26 } |
pankso@4321 | 27 |
al@20456 | 28 genpkg_rules() { |
al@20456 | 29 case $PACKAGE in |
al@20456 | 30 gtkglext) |
al@20456 | 31 mkdir -p $fs/usr/lib |
al@20456 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@20502 | 33 DEPENDS="gtk+ mesa glu pangox-compat" |
al@20456 | 34 SUGGESTED="nvidia" |
al@20456 | 35 ;; |
al@20456 | 36 *-dev) |
al@20456 | 37 mkdir -p $fs/usr/lib $fs/usr/share |
al@20456 | 38 cp -a $install/usr/include $fs/usr |
al@20456 | 39 cp -a $install/usr/lib/*.*a $fs/usr/lib |
al@20456 | 40 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
al@20456 | 41 cp -a $install/usr/lib/gtkglext-* $fs/usr/lib |
al@20456 | 42 cp -a $install/usr/share/aclocal $fs/usr/share |
al@20456 | 43 DEPENDS="gtkglext pangox-compat-dev" |
al@20456 | 44 ;; |
al@20456 | 45 esac |
pankso@4321 | 46 } |