wok-next view gtkglext/receipt @ rev 20456

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 03:33:54 2018 +0200 (2018-03-02)
parents 27bae9732b8d
children c0521c689857
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtkglext"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GtkGLExt is an OpenGL extension to GTK+"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://gtkglext.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev libglu-mesa libglu-mesa-dev mesa-dev \
15 util-linux-uuid-dev autoconf pangox-compat-dev expat-dev xorg-libxshmfence-dev"
16 SPLIT="gtkglext-dev"
18 compile_rules() {
19 patch -Np1 -i $stuff/gtk2.20.patch
20 autoconf --force
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 gtkglext)
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 DEPENDS="gtk+ mesa libglu-mesa pangox-compat"
34 SUGGESTED="nvidia"
35 ;;
36 *-dev)
37 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $install/usr/include $fs/usr
39 cp -a $install/usr/lib/*.*a $fs/usr/lib
40 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
41 cp -a $install/usr/lib/gtkglext-* $fs/usr/lib
42 cp -a $install/usr/share/aclocal $fs/usr/share
43 DEPENDS="gtkglext pangox-compat-dev"
44 ;;
45 esac
46 }