wok-next view glew/receipt @ rev 20146
Up qemu-light (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:50:08 2017 +0100 (2017-11-01) |
parents | 03b2309fd335 |
children | c0521c689857 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="glew"
4 VERSION="2.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="The OpenGL Extension Wrangler Library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT BSD"
9 WEB_SITE="http://glew.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="xorg-libX11-dev mesa-dev"
15 SPLIT="glew-dev"
17 compile_rules() {
18 make && make install
19 }
21 genpkg_rules() {
22 case $PACKAGE in
23 glew)
24 copy @std
25 DEPENDS="mesa xorg-libX11"
26 ;;
27 *-dev)
28 copy @dev
29 DEPENDS="glew libglu-mesa-dev"
30 ;;
31 esac
32 }