Added libpng-1.2.32 template.

--HG--
extra : convert_revision : 17c472da22f2608f2ee51bb49830783909cfd7f1
This commit is contained in:
Juan RP 2008-10-02 19:01:17 +02:00
parent 8f11172f55
commit 161abb75e7
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,5 @@
# Add the correct rpath flags to libpng-config.
$sed_cmd -e '/^L_opts=/s|-L\([ ]*[^ ]*\)"|-Wl,-R\1 -L\1"|g' \
$wrksrc/libpng-config > $wrksrc/libpng-config.in
$mv_cmd -f $wrksrc/libpng-config.in $wrksrc/libpng-config

22
templates/libpng-1.2.32.tmpl Executable file
View File

@ -0,0 +1,22 @@
# Template build file for 'libpng-1.2.32'.
pkgname=libpng-1.2.32
extract_sufx=".tar.bz2"
url=ftp://ftp.fu-berlin.de/unix/graphics/png/src
build_style=gnu_configure
make_cmd="$PKGFS_MASTERDIR/bin/gmake"
pkgconfig_override="libpng.pc"
short_desc="Library for manipulating PNG images"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=72d06e89912121c17598573171e704ff6bac35a6
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."
run_stuff_before="build"
run_stuff_before_build_file="$pkgname-runstuff-before-build.sh"