Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37046728
en ru br
ALT Linux repos
S:1.44.2-alt1

Group :: Development/Tools
RPM: libluv

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%set_verify_elf_method unresolved=relaxed

Name: libluv
Version: 1.44.2
Release: alt1

Summary: libuv bindings for luajit

Group: Development/Tools
License: Apache-2.0
Url: https://github.com/luvit/luv

Source: %name-%version.tar

BuildRequires(pre): rpm-macros-cmake cmake

BuildRequires: libuv-devel
BuildRequires: libluajit-devel

%description
This library makes libuv available to lua scripts. It was made for the
luvit project but should usable from nearly any lua project.

%package devel
Summary: Devel package for libluv
Group: Development/Other
Requires: %name = %version-%release

%description devel
libluv header and build tools.

%prep
%setup

%build
%cmake \
   -DWITH_SHARED_LIBUV=ON \
   -DLUA_BUILD_TYPE=System \
   -DBUILD_MODULE=OFF \
   -DBUILD_SHARED_LIBS=ON \
   -DSHAREDLIBS_INSTALL_LIB_DIR=%_libdir

%cmake_build

%install
%cmakeinstall_std

%files
%_libdir/*.so.*

%files devel
%_libdir/*.so
%_includedir/*
%_pkgconfigdir/%name.pc


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin