New package: libluv-1.30.1.0
This commit is contained in:
parent
aaee8c8e18
commit
e14c3db148
|
@ -3509,3 +3509,4 @@ libdrumstick-alsa.so.1 drumstick-1.1.2_1
|
|||
libdrumstick-rt.so.1 drumstick-1.1.2_1
|
||||
libnozzle.so.1 libnozzle1-1.11_2
|
||||
libmygpo-qt5.so.1 libmygpo-qt-1.1.0_1
|
||||
libluv.so.1 libluv-1.30.1.0_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
libluv
|
|
@ -0,0 +1,37 @@
|
|||
# Template file for 'libluv'
|
||||
pkgname=libluv
|
||||
version=1.30.1.0
|
||||
revision=1
|
||||
_distver="${version%.*}-${version##*.}"
|
||||
wrksrc=luv-${_distver}
|
||||
build_style=cmake
|
||||
configure_args="-DLUA_BUILD_TYPE=System -DBUILD_MODULE=OFF -DBUILD_SHARED_LIBS=ON"
|
||||
makedepends="libuv-devel LuaJIT-devel"
|
||||
depends="lua libuv LuaJIT"
|
||||
short_desc="Bare libuv bindings for lua"
|
||||
maintainer="andry-dev <peketribal2@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://github.com/luvit/luv"
|
||||
distfiles="https://github.com/luvit/luv/releases/download/${_distver}/luv-${_distver}.tar.gz
|
||||
https://raw.githubusercontent.com/luvit/luv/${_distver}/libluv.pc.in"
|
||||
checksum="420fc299f3b25aff55b839e9fe590982f45045b3e53ebeab2449eca7e23a106a
|
||||
be2a4909c724e09a50de42b1caa3c82c1b1afee8b80abf20c6944f1df1c7fd0e"
|
||||
skip_extraction="libluv.pc.in"
|
||||
|
||||
if [ "$CROSS_BUILD" -a "$XBPS_MACHINE" = "x86_64" ]; then
|
||||
hostmakedepends+=" gcc-multilib"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
cp ${XBPS_SRCDISTDIR}/libluv-${version}/libluv.pc.in ${wrksrc}/libluv.pc.in
|
||||
}
|
||||
|
||||
libluv-devel_package() {
|
||||
depends="${makedepends} libluv>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue