Rename mng to libmng and switch to new world order.
--HG-- extra : convert_revision : 76999648d5fa95a69892d96ed7281a00fa86f173
This commit is contained in:
parent
b82643777b
commit
eff16681ff
1
templates/libmng-devel
Symbolic link
1
templates/libmng-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libmng
|
2
templates/libmng/depends
Normal file
2
templates/libmng/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=1.0.10
|
||||
api_depends=${abi_depends}
|
18
templates/libmng/devel.template
Normal file
18
templates/libmng/devel.template
Normal 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
|
||||
}
|
|
@ -1,13 +1,12 @@
|
|||
# Template build file for 'mng'.
|
||||
pkgname=mng
|
||||
# Template build file for 'libmng'.
|
||||
pkgname=libmng
|
||||
sourcepkg=$pkgname
|
||||
version=1.0.10
|
||||
wrksrc="libmng-$version"
|
||||
distfiles="http://www.libmng.com/download/libmng-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
make_cmd="$XBPS_MASTERDIR/bin/gmake"
|
||||
short_desc="Multiple-image Network Graphics (MNG) reference library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=4a8168f2f1fcfd147e367782c7a664bfe5104fc6
|
||||
checksum=7b1477816c54b4d8ee0690c583982637910a1801ece0b0831e03fd07882e8118
|
||||
long_desc="
|
||||
The libmng library supports decoding, displaying, encoding, and various other
|
||||
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
|
||||
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()
|
||||
{
|
||||
# Automake'ify MNG.
|
||||
|
||||
cd $wrksrc && \
|
||||
$ln_cmd -sf makefiles/configure.in . && \
|
||||
$ln_cmd -sf makefiles/Makefile.am .
|
||||
|
||||
. $XBPS_TMPLHELPDIR/automake.sh
|
||||
cd $wrksrc
|
||||
ln -s makefiles/configure.in .
|
||||
ln -s makefiles/Makefile.am .
|
||||
autoreconf -f -i
|
||||
}
|
Loading…
Reference in New Issue
Block a user