mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
libcdio: cross build support.
This commit is contained in:
parent
e04d241472
commit
dc217e69c0
1 changed files with 9 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'libcdio'
|
# Template file for 'libcdio'
|
||||||
pkgname=libcdio
|
pkgname=libcdio
|
||||||
version=0.83
|
version=0.83
|
||||||
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
revision=3
|
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="ncurses-devel libcddb-devel"
|
makedepends="ncurses-devel libcddb-devel"
|
||||||
short_desc="CD-ROM access library"
|
short_desc="CD-ROM access library"
|
||||||
|
@ -20,9 +20,16 @@ long_desc="
|
||||||
so applications that use this library also have the ability to read
|
so applications that use this library also have the ability to read
|
||||||
disc images as though they were CDs."
|
disc images as though they were CDs."
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" automake libtool"
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
libcdio-devel_package() {
|
libcdio-devel_package() {
|
||||||
depends="libcddb-devel libcdio>=${version}"
|
depends="libcddb-devel libcdio>=${version}"
|
||||||
short_desc+=" -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
|
Loading…
Add table
Reference in a new issue