2011-06-21 09:36:22 +00:00
|
|
|
# Template build file for 'giblib'
|
|
|
|
pkgname=giblib
|
|
|
|
version=1.2.4
|
2014-02-17 09:34:13 +00:00
|
|
|
revision=5
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-02-17 09:34:13 +00:00
|
|
|
configure_args="--disable-static --with-imlib2-prefix=${XBPS_CROSS_BASE}/usr"
|
2011-06-21 09:36:22 +00:00
|
|
|
make_install_args="docsdir=/usr/share/doc/giblib"
|
2014-02-17 09:34:13 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="imlib2-devel freetype-devel libX11-devel libXext-devel"
|
2011-06-21 09:36:22 +00:00
|
|
|
short_desc="Programming utility library"
|
2011-07-17 06:27:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-21 09:36:22 +00:00
|
|
|
homepage="http://linuxbrit.co.uk/giblib/"
|
|
|
|
license="MIT"
|
2012-10-10 09:27:06 +00:00
|
|
|
distfiles="http://linuxbrit.co.uk/downloads/$pkgname-$version.tar.gz"
|
2011-06-21 09:36:22 +00:00
|
|
|
checksum=176611c4d88d742ea4013991ad54c2f9d2feefbc97a28434c0f48922ebaa8bac
|
2014-02-17 09:34:13 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
sed -e 's,imlib2-config --libs,pkg-config --libs imlib2,g' -i configure
|
|
|
|
sed -e 's,imlib2-config --cflags,pkg-config --cflags imlib2,g' -i configure
|
|
|
|
}
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
giblib-devel_package() {
|
|
|
|
depends="imlib2-devel freetype-devel zlib-devel libX11-devel
|
2014-02-17 09:34:13 +00:00
|
|
|
libXext-devel giblib>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-12 11:13:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-17 09:34:13 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|