libpng: update to 1.2.35, converted to subpkgs, new deps style.
--HG-- extra : convert_revision : 2df0700810949d92d517b3facac56bd9fc45841d
This commit is contained in:
parent
d54c74d66b
commit
cf7f9806c8
4 changed files with 31 additions and 6 deletions
1
templates/libpng-devel
Symbolic link
1
templates/libpng-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libpng
|
2
templates/libpng/depends
Normal file
2
templates/libpng/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=1.2.35
|
||||
api_depends=${abi_depends}
|
20
templates/libpng/devel.template
Normal file
20
templates/libpng/devel.template
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Template file for 'libpng-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libpng
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mkdir -p ${DESTDIR}/usr/share/man
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
||||
}
|
|
@ -1,14 +1,12 @@
|
|||
# Template build file for 'libpng'.
|
||||
pkgname=libpng
|
||||
version=1.2.32
|
||||
distfiles="
|
||||
ftp://ftp.fu-berlin.de/unix/graphics/png/src/$pkgname-$version.tar.bz2"
|
||||
sourcepkg=$pkgname
|
||||
version=1.2.35
|
||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
make_cmd="$XBPS_MASTERDIR/bin/gmake"
|
||||
pkgconfig_override="libpng.pc"
|
||||
short_desc="Library for manipulating PNG images"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=72d06e89912121c17598573171e704ff6bac35a6
|
||||
checksum=cafe6431f9e6d561fb7b396bf94ff73a9cd0f4279f3eea2fc714ab90e345eee6
|
||||
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
|
||||
|
@ -18,3 +16,7 @@ long_desc="
|
|||
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."
|
||||
|
||||
subpackages="devel"
|
||||
Add_dependency full glibc
|
||||
Add_dependency full zlib
|
||||
|
|
Loading…
Reference in a new issue