rev |
line source |
pankso@4321
|
1 # SliTaz package receipt.
|
pankso@4321
|
2
|
pankso@4321
|
3 PACKAGE="gtkglext"
|
pankso@4321
|
4 VERSION="1.2.0"
|
pankso@4321
|
5 CATEGORY="x-window"
|
pankso@4321
|
6 SHORT_DESC="GtkGLExt is an OpenGL extension to GTK+."
|
pankso@4321
|
7 MAINTAINER="pankso@slitaz.org"
|
jozee@5018
|
8 DEPENDS="gtk+ mesa libglu-mesa"
|
jozee@5018
|
9 SUGGESTED="nvidia"
|
pankso@12481
|
10 BUILD_DEPENDS="gtk+-dev libglu-mesa mesa-dev util-linux-uuid-dev autoconf"
|
slaxemulator@7694
|
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
|
pankso@4321
|
12 WEB_SITE="http://gtkglext.sourceforge.net/"
|
pankso@4321
|
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
|
pankso@4321
|
14
|
pankso@4321
|
15 # Rules to configure and make the package.
|
pankso@4321
|
16 compile_rules()
|
pankso@4321
|
17 {
|
pankso@4321
|
18 cd $src
|
slaxemulator@9700
|
19 patch -Np1 -i $stuff/gtk2.20.patch
|
slaxemulator@7425
|
20 autoconf --force
|
pankso@4321
|
21 ./configure \
|
pankso@4321
|
22 --prefix=/usr \
|
pankso@4321
|
23 $CONFIGURE_ARGS &&
|
pankso@4321
|
24 make &&
|
pankso@4321
|
25 make DESTDIR=$PWD/_pkg install
|
pankso@4321
|
26 }
|
pankso@4321
|
27
|
pankso@4321
|
28 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pankso@4321
|
29 genpkg_rules()
|
pankso@4321
|
30 {
|
pankso@4321
|
31 mkdir -p $fs/usr/lib
|
pankso@4321
|
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
|
pankso@4321
|
33 }
|