wok-next annotate ftgl/receipt @ rev 20949
Fix homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 01 16:21:51 2018 +0300 (2018-09-01) |
parents | 835b3b8ce6ac |
children | d5aab818505e |
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" |
slaxemulator@6554 | 7 MAINTAINER="slaxemulator@gmail.com" |
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" |
pascal@20228 | 16 SPLIT="ftgl-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@20569 | 27 make DESTDIR=$DESTDIR 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 } |