Initial .bep file for loadpng, thanks to michaelvoliveira

This commit is contained in:
Scott McCreary
2010-05-19 04:19:49 +00:00
parent 54f5a1b4c2
commit f5c885e08e
2 changed files with 39 additions and 0 deletions

View 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."

View 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 :=