wok-next view libepoxy/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | b5f2a6ab88b6 |
children | 33293021c26d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libepoxy"
4 VERSION="1.5.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for handling OpenGL function pointer management"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/anholt/libepoxy/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/libepoxy.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/anholt/libepoxy/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="meson ninja libx11-dev mesa-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 meson-wrapper &&
22 ninja &&
23 ninja install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libepoxy)
29 copy @std
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="mesa-dev"
34 ;;
35 esac
36 }