wok-next annotate ftgl/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 a3c581bf52b8
children 5669e8b3be70
rev   line source
pascal@20228 1 # SliTaz package receipt v2.
slaxemulator@6554 2
slaxemulator@6554 3 PACKAGE="ftgl"
slaxemulator@6554 4 VERSION="2.1.3-rc5"
slaxemulator@6554 5 CATEGORY="x-window"
slaxemulator@6554 6 SHORT_DESC="OpenGL library to use arbitrary fonts"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15593 8 LICENSE="GPL2"
al@20906 9 WEB_SITE="https://sourceforge.net/projects/ftgl/"
al@20569 10
slaxemulator@6554 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6554 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6554 13
al@20502 14 BUILD_DEPENDS="freetype-dev freeglut-dev mesa-dev glu-dev \
pascal@20228 15 expat-dev xorg-libxshmfence-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
pascal@13796 17
al@20569 18 compile_rules() {
pascal@12763 19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lGL"
al@20569 21
slaxemulator@6554 22 ./configure \
slaxemulator@6554 23 --with-pic \
slaxemulator@6554 24 $CONFIGURE_ARGS &&
al@20569 25 fix libtool &&
al@20569 26 make &&
al@21020 27 make DESTDIR=$install install
slaxemulator@6554 28 }
slaxemulator@6554 29
al@20569 30 genpkg_rules() {
pascal@20228 31 case $PACKAGE in
al@20569 32 ftgl)
al@20569 33 copy @std
al@20569 34 DEPENDS="freetype freeglut mesa glu"
al@20569 35 ;;
al@20569 36 *-dev)
al@20569 37 copy @dev
al@20569 38 ;;
pascal@20228 39 esac
slaxemulator@6554 40 }