void-packages/templates/libpng.tmpl
Juan RP 6ade2fe36a Some changes for better use of postinstall_helpers and run_stuff_*.
Introduce run_stuff_<state>_<stage>_cmd. These are used to run
a specific command before or after the specified stage.

Introduce two new helpers: fontconfig-update.sh and mkfontxx-rebuild.sh.
The first runs fc-cache once fontconfig is installed, the second
rebuilds the fonts.dir and fonts.scale files in a directory for
a template.

Allow run_stuff_* to execute a script with any path, not just
from PKGFS_TEMPLATESDIR.

That means that now if you install GTK+ and any fonts package,
gtk-demo will work without any additional stuff.

--HG--
extra : convert_revision : c8aa7eb8d1ab958f64808af0d4c1cce8760d012e
2008-10-06 16:57:36 +02:00

23 lines
1,016 B
Cheetah
Executable file

# Template build file for 'libpng'.
pkgname=libpng
version=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="$PKGFS_TEMPLATESDIR/$pkgname-runstuff-before-build.sh"