Rename mng to libmng and switch to new world order.

--HG--
extra : convert_revision : 76999648d5fa95a69892d96ed7281a00fa86f173
This commit is contained in:
Juan RP 2009-05-13 16:19:25 +02:00
parent b82643777b
commit eff16681ff
4 changed files with 36 additions and 12 deletions

1
templates/libmng-devel Symbolic link
View File

@ -0,0 +1 @@
libmng

2
templates/libmng/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=1.0.10
api_depends=${abi_depends}

View File

@ -0,0 +1,18 @@
# Template file for 'libmng-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libmng
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
}

View File

@ -1,13 +1,12 @@
# Template build file for 'mng'. # Template build file for 'libmng'.
pkgname=mng pkgname=libmng
sourcepkg=$pkgname
version=1.0.10 version=1.0.10
wrksrc="libmng-$version"
distfiles="http://www.libmng.com/download/libmng-$version.tar.bz2" distfiles="http://www.libmng.com/download/libmng-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
make_cmd="$XBPS_MASTERDIR/bin/gmake"
short_desc="Multiple-image Network Graphics (MNG) reference library" short_desc="Multiple-image Network Graphics (MNG) reference library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4a8168f2f1fcfd147e367782c7a664bfe5104fc6 checksum=7b1477816c54b4d8ee0690c583982637910a1801ece0b0831e03fd07882e8118
long_desc=" long_desc="
The libmng library supports decoding, displaying, encoding, and various other The libmng library supports decoding, displaying, encoding, and various other
manipulations of Multiple-image Network Graphics (MNG) format image files. It manipulations of Multiple-image Network Graphics (MNG) format image files. It
@ -15,13 +14,17 @@ long_desc="
Independent JPEG Group (IJG) and/or lcms (little CMS), a color-management Independent JPEG Group (IJG) and/or lcms (little CMS), a color-management
library by Marti Maria Saguar." library by Marti Maria Saguar."
subpackages="devel"
Add_dependency build automake
Add_dependency full glibc
Add_dependency full jpeg
Add_dependency full zlib
Add_dependency full lcms
pre_configure() pre_configure()
{ {
# Automake'ify MNG. cd $wrksrc
ln -s makefiles/configure.in .
cd $wrksrc && \ ln -s makefiles/Makefile.am .
$ln_cmd -sf makefiles/configure.in . && \ autoreconf -f -i
$ln_cmd -sf makefiles/Makefile.am .
. $XBPS_TMPLHELPDIR/automake.sh
} }