New package: source-highlight-3.1.7.
This commit is contained in:
parent
c8e7e456f1
commit
2e6f4c8919
4 changed files with 51 additions and 0 deletions
|
@ -1435,3 +1435,4 @@ libsnapper.so.2 libsnapper-0.1.7_1
|
|||
libtsm.so.3 libtsm-3_1
|
||||
libxine.so.2 libxine-1.2.4_1
|
||||
libjbig2dec.so.0 libjbig2dec-0.11_1
|
||||
libsource-highlight.so.4 libsource-highlight-3.1.7_1
|
||||
|
|
1
srcpkgs/libsource-highlight
Symbolic link
1
srcpkgs/libsource-highlight
Symbolic link
|
@ -0,0 +1 @@
|
|||
source-highlight
|
1
srcpkgs/source-highlight-devel
Symbolic link
1
srcpkgs/source-highlight-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
source-highlight
|
48
srcpkgs/source-highlight/template
Normal file
48
srcpkgs/source-highlight/template
Normal file
|
@ -0,0 +1,48 @@
|
|||
# Template file for 'source-highlight'
|
||||
pkgname=source-highlight
|
||||
version=3.1.7
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-boost=${XBPS_CROSS_BASE}/usr
|
||||
--with-bash-completion=/usr/share/bash-completion/completions"
|
||||
makedepends="boost-devel"
|
||||
short_desc="Convert source code to syntax highlighted document"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://www.gnu.org/software/src-highlite/"
|
||||
distfiles="http://ftp.gnu.org/gnu/src-highlite/$pkgname-$version.tar.gz"
|
||||
checksum=e1b2e007cdd94595393d42510e2a84763c36aad3409f0c3087f05fcb50a389e8
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends="source-highlight"
|
||||
fi
|
||||
|
||||
post_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -e 's,SRCHILITEEXE =.*,SRCHILITEEXE = source-highlight,g' -i doc/Makefile
|
||||
fi
|
||||
}
|
||||
|
||||
libsource-highlight_package() {
|
||||
short_desc+=" - runtime library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
source-highlight-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="libsource-highlight>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
source-highlight_package() {
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue