liboil: move so symlinks to -devel pkg; cross build support.

This commit is contained in:
Juan RP 2013-11-27 11:05:50 +01:00
parent c5c5832799
commit 48714a1bf6
1 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# Template build file for 'liboil'.
pkgname=liboil
version=0.3.17
revision=4
build_style=gnu-configure
revision=3
hostmakedepends="pkg-config"
short_desc="Library of Optimized Inner Loops, CPU optimized functions"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -19,18 +19,19 @@ long_desc="
extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.)."
liboil-devel_package() {
depends="liboil>=${version}"
short_desc+=" -- development files"
depends="liboil>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}
liboil_package() {
pkg_install() {
vmove usr
vmove all
}
}