sndio: fix symlinks and move license to libsndio
This commit is contained in:
parent
9b9ce32289
commit
7cbe9c2260
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sndio'
|
# Template file for 'sndio'
|
||||||
pkgname=sndio
|
pkgname=sndio
|
||||||
version=1.7.0
|
version=1.7.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr"
|
configure_args="--prefix=/usr"
|
||||||
makedepends="alsa-lib-devel"
|
makedepends="alsa-lib-devel"
|
||||||
|
@ -18,7 +18,6 @@ checksum=dda4e3d0879423ed57923975ba74668cbb9299939cad579b0ac64a4b01535552
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv sndiod
|
vsv sndiod
|
||||||
sed -n '/Copyright/,/PERFORMANCE/p' <sndiod/sndiod.c >LICENSE
|
sed -n '/Copyright/,/PERFORMANCE/p' <sndiod/sndiod.c >LICENSE
|
||||||
vlicense LICENSE
|
|
||||||
}
|
}
|
||||||
|
|
||||||
libsndio_package() {
|
libsndio_package() {
|
||||||
|
@ -27,7 +26,8 @@ libsndio_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/libsndio.so.*"
|
vmove "usr/lib/libsndio.so.*"
|
||||||
# compat symlink until everything is built with libsndio.so.7 as SONAME
|
# compat symlink until everything is built with libsndio.so.7 as SONAME
|
||||||
ln -sf libsndio.7 ${PKGDESTDIR}/usr/lib/libsndio.7.0
|
ln -sf libsndio.so.7 ${PKGDESTDIR}/usr/lib/libsndio.so.7.0
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sndio-devel_package() {
|
sndio-devel_package() {
|
||||||
|
|
Loading…
Reference in a new issue