wok-next view glew/receipt @ rev 20712

libtorrent: fix rtorrent building for non-64bit archs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:13:53 2018 +0300 (2018-05-27)
parents 595097cb4e40
children d5aab818505e
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 glu-dev"
30 ;;
31 esac
32 }