2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'libpng'.
|
|
|
|
pkgname=libpng
|
2011-07-07 19:07:30 +02:00
|
|
|
version=1.4.8
|
|
|
|
patch_args="-Np1"
|
2009-03-25 07:28:22 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2008-10-02 19:01:17 +02:00
|
|
|
short_desc="Library for manipulating PNG images"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-07 19:07:30 +02:00
|
|
|
homepage="http://www.libpng.org/pub/png/libpng.html"
|
|
|
|
license="zlib"
|
|
|
|
checksum=a6df2b0da085706c8b3aa871224d83f97c2905ec2791838c5440239675deeda0
|
2008-10-02 19:01:17 +02: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 07:28:22 +01:00
|
|
|
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel"
|
2010-05-07 14:20:12 +02:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run zlib
|
|
|
|
Add_dependency build zlib-devel
|
2011-07-07 19:07:30 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|