wok-next annotate libepoxy/receipt @ rev 20303
gnustep-back: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 11:17:33 2017 +0100 (2017-11-10) |
parents | f463de72afe3 |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19841 | 1 # SliTaz package receipt v2. |
al@19653 | 2 |
al@19653 | 3 PACKAGE="libepoxy" |
al@19841 | 4 VERSION="1.4.0" |
al@19653 | 5 CATEGORY="x-window" |
al@19653 | 6 SHORT_DESC="Library for handling OpenGL function pointer management" |
al@19653 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19653 | 8 LICENSE="MIT" |
al@19653 | 9 WEB_SITE="https://github.com/anholt/libepoxy/" |
al@19653 | 10 |
al@19841 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19841 | 12 WGET_URL="https://github.com/anholt/libepoxy/releases/download/v${VERSION%.*}/$TARBALL" |
al@19653 | 13 |
al@19653 | 14 BUILD_DEPENDS="xorg-util-macros python mesa-dev" |
al@19841 | 15 SPLIT="libepoxy-dev" |
al@19653 | 16 |
al@19653 | 17 # Rules to configure and make the package. |
al@19653 | 18 compile_rules() |
al@19653 | 19 { |
al@19841 | 20 # http://www.linuxfromscratch.org/blfs/view/stable/x/libepoxy.html |
al@19653 | 21 ./configure $CONFIGURE_ARGS && make && make install |
al@19653 | 22 } |
al@19653 | 23 |
al@19653 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19653 | 25 genpkg_rules() |
al@19653 | 26 { |
al@19841 | 27 case $PACKAGE in |
al@19841 | 28 libepoxy) copy @std;; |
al@19841 | 29 *-dev) copy @dev;; |
al@19841 | 30 esac |
al@19653 | 31 } |