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'
|
||||
pkgname=sndio
|
||||
version=1.7.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr"
|
||||
makedepends="alsa-lib-devel"
|
||||
|
@ -18,7 +18,6 @@ checksum=dda4e3d0879423ed57923975ba74668cbb9299939cad579b0ac64a4b01535552
|
|||
post_install() {
|
||||
vsv sndiod
|
||||
sed -n '/Copyright/,/PERFORMANCE/p' <sndiod/sndiod.c >LICENSE
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
libsndio_package() {
|
||||
|
@ -27,7 +26,8 @@ libsndio_package() {
|
|||
pkg_install() {
|
||||
vmove "usr/lib/libsndio.so.*"
|
||||
# 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() {
|
||||
|
|
Loading…
Reference in a new issue