netpbm: update to 10.70.06.
Move to Github mirror, apply patches manually.
This commit is contained in:
parent
5b73e6c814
commit
1d4a864dcc
4 changed files with 19 additions and 8 deletions
|
@ -1,20 +1,29 @@
|
||||||
# Template file for 'netpbm'
|
# Template file for 'netpbm'
|
||||||
pkgname=netpbm
|
pkgname=netpbm
|
||||||
# from http://svn.code.sf.net/p/netpbm/code/advanced/doc/HISTORY
|
# from http://svn.code.sf.net/p/netpbm/code/advanced/doc/HISTORY
|
||||||
version=10.70.05
|
version=10.70.06
|
||||||
revision=1
|
revision=1
|
||||||
patch_args="-Np1"
|
_githash=921c08b68f785180a918591ea0699de6275d202d
|
||||||
hostmakedepends="pkg-config perl python flex subversion"
|
_githash_guide=dd67b8beae254b3a55e58124560a9233103bb45b
|
||||||
|
create_wrksrc=yes
|
||||||
|
build_wrksrc="netpbm-mirror-${_githash}"
|
||||||
|
hostmakedepends="pkg-config perl python flex"
|
||||||
makedepends="libjpeg-turbo-devel tiff-devel libpng-devel zlib-devel libxml2-devel libX11-devel"
|
makedepends="libjpeg-turbo-devel tiff-devel libpng-devel zlib-devel libxml2-devel libX11-devel"
|
||||||
short_desc="Toolkit for manipulation of graphic images"
|
short_desc="Toolkit for manipulation of graphic images"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="BSD,GPL-2,custom"
|
license="BSD,GPL-2,custom"
|
||||||
homepage="http://netpbm.sourceforge.net/"
|
homepage="http://netpbm.sourceforge.net/"
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
distfiles="https://github.com/chneukirchen/netpbm-mirror/archive/${_githash}.tar.gz
|
||||||
|
https://github.com/chneukirchen/netpbm-mirror/archive/${_githash_guide}.tar.gz"
|
||||||
|
checksum="8d3a3b3795fe053ccd1d79ac85578a31a2bd09256608ff1076167d5b16419d9b
|
||||||
|
05f36a02a7ed34e02492dcefa37728b122e6d5a64877abb0f35877695de69a5c"
|
||||||
|
|
||||||
do_fetch() {
|
post_extract() {
|
||||||
svn co http://svn.code.sf.net/p/netpbm/code/advanced ${wrksrc}
|
cd $build_wrksrc
|
||||||
svn co http://svn.code.sf.net/p/netpbm/code/userguide ${wrksrc}/userguide
|
for p in ${FILESDIR}/*.patch; do
|
||||||
|
patch -Np1 -i $p
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
@ -29,14 +38,16 @@ do_configure() {
|
||||||
do_build() {
|
do_build() {
|
||||||
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
|
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
|
||||||
make MAKEMAN="${PWD}/buildtools/makeman" USERGUIDE=. \
|
make MAKEMAN="${PWD}/buildtools/makeman" USERGUIDE=. \
|
||||||
-C userguide -f "${PWD}/buildtools/manpage.mk" manpages
|
-C ../netpbm-mirror-${_githash_guide} \
|
||||||
|
-f "${PWD}/buildtools/manpage.mk" manpages
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make pkgdir=$DESTDIR/usr PKGMANDIR=share/man install-run install-dev
|
make pkgdir=$DESTDIR/usr PKGMANDIR=share/man install-run install-dev
|
||||||
rm $DESTDIR/usr/share/man/man?/*
|
rm $DESTDIR/usr/share/man/man?/*
|
||||||
make MAKEMAN="${PWD}/buildtools/makeman" MANDIR="$DESTDIR/usr/share/man" \
|
make MAKEMAN="${PWD}/buildtools/makeman" MANDIR="$DESTDIR/usr/share/man" \
|
||||||
-C userguide -f "${PWD}/buildtools/manpage.mk" installman
|
-C ../netpbm-mirror-${_githash_guide} \
|
||||||
|
-f "${PWD}/buildtools/manpage.mk" installman
|
||||||
vlicense doc/copyright_summary LICENSE
|
vlicense doc/copyright_summary LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue