giblib: disable static, set -devel noarch.
This commit is contained in:
parent
01d7b4f1ed
commit
f8a3ceb2e4
|
@ -1,16 +1,15 @@
|
||||||
# Template file for 'giblib-devel'.
|
# Template file for 'giblib-devel'.
|
||||||
#
|
#
|
||||||
depends="imlib2-devel freetype-devel zlib-devel libX11-devel libXext-devel glibc-devel giblib"
|
depends="imlib2-devel freetype-devel zlib-devel libX11-devel libXext-devel giblib-${version}_${revision}"
|
||||||
short_desc="${sourcepkg} - development files"
|
short_desc="${sourcepkg} - development files"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development: headers, static libs, etc."
|
This package contains files for development: headers, static libs, etc."
|
||||||
|
|
||||||
|
noarch=yes
|
||||||
|
|
||||||
do_install()
|
do_install() {
|
||||||
{
|
|
||||||
mkdir -p ${DESTDIR}/usr/lib
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
mv ${SRCPKGDESTDIR}/usr/{bin,include} ${DESTDIR}/usr
|
mv ${SRCPKGDESTDIR}/usr/{bin,include} ${DESTDIR}/usr
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
# Template build file for 'giblib'
|
# Template build file for 'giblib'
|
||||||
pkgname=giblib
|
pkgname=giblib
|
||||||
version=1.2.4
|
version=1.2.4
|
||||||
distfiles="http://linuxbrit.co.uk/downloads/$pkgname-$version.tar.gz"
|
revision=3
|
||||||
|
subpackages="$pkgname-devel"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--disable-static"
|
||||||
make_install_args="docsdir=/usr/share/doc/giblib"
|
make_install_args="docsdir=/usr/share/doc/giblib"
|
||||||
revision=2
|
makedepends="pkg-config imlib2-devel freetype-devel libX11-devel libXext-devel"
|
||||||
makedepends="pkg-config imlib2-devel freetype-devel zlib-devel libX11-devel libXext-devel glibc-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"
|
||||||
checksum=176611c4d88d742ea4013991ad54c2f9d2feefbc97a28434c0f48922ebaa8bac
|
checksum=176611c4d88d742ea4013991ad54c2f9d2feefbc97a28434c0f48922ebaa8bac
|
||||||
long_desc="
|
long_desc="
|
||||||
Giblib is a utility library used by many of the applications found on
|
Giblib is a utility library used by many of the applications found on
|
||||||
|
@ -18,6 +20,3 @@ long_desc="
|
||||||
gives you access to fontstyles, which can be loaded from files, saved to
|
gives you access to fontstyles, which can be loaded from files, saved to
|
||||||
files, or defined dynamically through the API. It also, and more
|
files, or defined dynamically through the API. It also, and more
|
||||||
importantly, wraps imlib2's context API into a more compact form."
|
importantly, wraps imlib2's context API into a more compact form."
|
||||||
|
|
||||||
subpackages="$pkgname-devel"
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue