2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'libpng'.
|
|
|
|
pkgname=libpng
|
2012-02-19 09:46:18 +00:00
|
|
|
version=1.4.9
|
2011-07-07 17:07:30 +00:00
|
|
|
patch_args="-Np1"
|
2009-03-25 06:28:22 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2008-10-02 17:01:17 +00:00
|
|
|
short_desc="Library for manipulating PNG images"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-07 17:07:30 +00:00
|
|
|
homepage="http://www.libpng.org/pub/png/libpng.html"
|
|
|
|
license="zlib"
|
2012-02-19 09:46:18 +00:00
|
|
|
checksum=a4210ef5947f969fb01e66f40052824d9dadd84fc67c528abc30b5ba81b2b4dc
|
2008-10-02 17:01:17 +00:00
|
|
|
long_desc="
|
|
|
|
Libpng was written as a companion to the PNG specification, as a
|
|
|
|
way to reduce the amount of time and effort it takes to support
|
|
|
|
the PNG file format in application programs. Most users will not
|
|
|
|
have to modify the library significantly; advanced users may want
|
|
|
|
to modify it more. The library was coded for both users. All
|
|
|
|
attempts were made to make it as complete as possible, while
|
|
|
|
keeping the code easy to understand. Currently, this library
|
|
|
|
only supports C. Support for other languages is being considered."
|
2009-03-25 06:28:22 +00:00
|
|
|
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="$pkgname-devel"
|
2010-05-07 12:20:12 +00:00
|
|
|
Add_dependency build zlib-devel
|
2011-07-07 17:07:30 +00:00
|
|
|
|
2012-02-19 09:46:18 +00:00
|
|
|
post_install() {
|
2011-07-07 17:07:30 +00:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|