new blfs: dev-libs/libuv-1.51.0
This commit is contained in:
30
dev-libs/libuv-1.51.0.PKGBUILD
Normal file
30
dev-libs/libuv-1.51.0.PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
pkgname=libuv
|
||||
pkgver=1.51.0
|
||||
pkgdesc="Multi-platform support library with a focus on asynchronous I/O"
|
||||
arch=('x86_64')
|
||||
homepage="https://github.com/libuv/libuv"
|
||||
license=('custom')
|
||||
sources=("${pkgname}-v${pkgver}.tar.gz")
|
||||
urls=("https://dist.libuv.org/dist/v${pkgver}/${sources[0]}")
|
||||
md5sums=("5e0109e19c3fed3a8cbecb958de39afa")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
unset ACLOCAL
|
||||
sh autogen.sh &&
|
||||
./configure --prefix=/usr --disable-static &&
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
chown -R leaf .
|
||||
su leaf -c "PATH=$PATH make check"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user