mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
glpng: bump version, remove obselete bep file (#1786)
This commit is contained in:
committed by
Jérôme Duval
parent
9582f4a9b2
commit
9ad91d267d
62
media-libs/glpng/glpng-1.46.recipe
Normal file
62
media-libs/glpng/glpng-1.46.recipe
Normal file
@@ -0,0 +1,62 @@
|
||||
SUMMARY="Load PNG graphics files for OpenGL"
|
||||
DESCRIPTION="This is a library for OpenGL to load PNG graphics files \
|
||||
as an OpenGL texture as easily as possible. It also has a number of \
|
||||
options for generating the alpha channel and mipmaps. It is implemented \
|
||||
using modified versions of the LibPNG 1.0.2 and ZLib 1.1.3 libraries."
|
||||
HOMEPAGE="http://www.fifi.org/doc/libglpng-dev/glpng.html"
|
||||
COPYRIGHT="1999-2014 Ben Wyatt"
|
||||
LICENSE="Zlib"
|
||||
REVISION="1"
|
||||
SOURCE_URI="ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles/glpng-1.46.tar.gz"
|
||||
CHECKSUM_SHA256="4a3e489deca733524780470c4fb89806e354515b541efb58d44f2e11936dc39e"
|
||||
SOURCE_DIR="glpng"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
glpng = $portVersion
|
||||
lib:libglpng = 1.46 compat >= 1
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libGL
|
||||
lib:libpng16
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
glpng_devel
|
||||
devel:libglpng = 1.46 compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
glpng == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libGL
|
||||
devel:libpng16
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make DESTDIR=$prefix DOCDIR=$docDir
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $includeDir
|
||||
|
||||
make install DESTDIR=$prefix DOCDIR=$docDir
|
||||
|
||||
mv $prefix/include/* $includeDir
|
||||
rm -r $prefix/include
|
||||
|
||||
prepareInstalledDevelLib libglpng
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user