giblib: cross build support; remove long_desc.
This commit is contained in:
parent
95b67513c1
commit
64fe309042
1 changed files with 12 additions and 12 deletions
|
@ -1,32 +1,32 @@
|
||||||
# Template build file for 'giblib'
|
# Template build file for 'giblib'
|
||||||
pkgname=giblib
|
pkgname=giblib
|
||||||
version=1.2.4
|
version=1.2.4
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static --with-imlib2-prefix=${XBPS_CROSS_BASE}/usr"
|
||||||
make_install_args="docsdir=/usr/share/doc/giblib"
|
make_install_args="docsdir=/usr/share/doc/giblib"
|
||||||
makedepends="pkg-config imlib2-devel freetype-devel libX11-devel libXext-devel"
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="imlib2-devel freetype-devel libX11-devel libXext-devel"
|
||||||
short_desc="Programming utility library"
|
short_desc="Programming utility library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://linuxbrit.co.uk/giblib/"
|
homepage="http://linuxbrit.co.uk/giblib/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="http://linuxbrit.co.uk/downloads/$pkgname-$version.tar.gz"
|
distfiles="http://linuxbrit.co.uk/downloads/$pkgname-$version.tar.gz"
|
||||||
checksum=176611c4d88d742ea4013991ad54c2f9d2feefbc97a28434c0f48922ebaa8bac
|
checksum=176611c4d88d742ea4013991ad54c2f9d2feefbc97a28434c0f48922ebaa8bac
|
||||||
long_desc="
|
|
||||||
Giblib is a utility library used by many of the applications found on
|
pre_configure() {
|
||||||
www.linuxbrit.co.uk. It incorporates doubly linked lists, some string
|
sed -e 's,imlib2-config --libs,pkg-config --libs imlib2,g' -i configure
|
||||||
functions, and a wrapper for imlib2. The wrapper does two things. It
|
sed -e 's,imlib2-config --cflags,pkg-config --cflags imlib2,g' -i configure
|
||||||
gives you access to fontstyles, which can be loaded from files, saved to
|
}
|
||||||
files, or defined dynamically through the API. It also, and more
|
|
||||||
importantly, wraps imlib2's context API into a more compact form."
|
|
||||||
|
|
||||||
giblib-devel_package() {
|
giblib-devel_package() {
|
||||||
depends="imlib2-devel freetype-devel zlib-devel libX11-devel
|
depends="imlib2-devel freetype-devel zlib-devel libX11-devel
|
||||||
libXext-devel giblib-${version}_${revision}"
|
libXext-devel giblib>=${version}_${revision}"
|
||||||
short_desc+=" -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin
|
vmove usr/bin
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue