mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Initial .bep file for loadpng, thanks to michaelvoliveira
This commit is contained in:
28
media-libs/loadpng/loadpng-1.5.bep
Normal file
28
media-libs/loadpng/loadpng-1.5.bep
Normal file
@@ -0,0 +1,28 @@
|
||||
DESCRIPTION="loadpng is some glue that makes it easy to use libpng to load and save bitmaps from Allegro programs."
|
||||
HOMEPAGE="http://tjaden.strangesoft.net/loadpng/"
|
||||
SRC_URI="http://tjaden.strangesoft.net/loadpng/loadpng-1.5.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="media-libs/allegro >= 4.4
|
||||
media-libs/libpng >=1.2"
|
||||
MESSAGE="This might not build with libpng >= 1.4"
|
||||
CHECKSUM_MD5="5e9ecdf1762c3fca47477bf0263b96ba"
|
||||
BUILD {
|
||||
cd loadpng-1.5
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd loadpng-1.5
|
||||
if [ -n ${DESTDIR} ];then
|
||||
mkdir -p ${DESTDIR}/boot/common/lib
|
||||
mkdir -p ${DESTDIR}/boot/common/include
|
||||
make install DESTDIR=${DESTDIR}
|
||||
else
|
||||
make install
|
||||
fi
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="Public Domain"
|
||||
COPYRIGHT="1997-2004 Psyk Software."
|
||||
11
media-libs/loadpng/patches/loadpng-1.5.patch
Normal file
11
media-libs/loadpng/patches/loadpng-1.5.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -Naur loadpng-1.5/Makefile.unx loadpng-1.5-haiku/Makefile.unx
|
||||
--- loadpng-1.5/Makefile.unx 2005-12-20 03:57:47.049807360 +0000
|
||||
+++ loadpng-1.5-haiku/Makefile.unx 2010-01-30 00:44:02.861929472 +0000
|
||||
@@ -1,6 +1,6 @@
|
||||
## Aux -*- Makefile -*- for Unices
|
||||
|
||||
-prefix := /usr/local
|
||||
+prefix := /boot/common
|
||||
libdir := $(prefix)/lib
|
||||
includedir := $(prefix)/include
|
||||
DESTDIR :=
|
||||
Reference in New Issue
Block a user