wok-next view glew/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | c0521c689857 |
children | 7aa0ae2f7190 |
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="$PACKAGE-dev"
17 compile_rules() {
18 make &&
19 make install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 glew)
25 copy @std
26 DEPENDS="mesa xorg-libX11"
27 ;;
28 *-dev)
29 copy @dev
30 DEPENDS="glew glu-dev"
31 ;;
32 esac
33 }