Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37518687
en ru br
Репозитории ALT
5.1: 5.1.1-alt1
4.1: 2006-alt1
4.0: 2006-alt1
3.0: 2003.11.07-alt2
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: lua5-posix

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: lua5-posix
Version: 2006
Release: alt1

Summary: POSIX library for Lua
License: MIT
Group: Development/Other

URL: http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/
Source0: lposix.c
Source1: lposix-README

# based on apt-0.5.15cnc6/lua/local/lposix.c

Patch1: lposix-2006-alt-apt-mkstemp.patch

# Added by buildreq2 on Tue May 16 2006

BuildRequires: liblua5-devel lua5

%description
This is a POSIX library for Lua 5.

%prep
%setup -cT
cp -av %SOURCE0 lposix.c
cp -av %SOURCE1 README
%patch1

%build
gcc -shared %optflags %optflags_shared lposix.c -o posix.so -llua -Wl,-z,defs
lua5 -e 'require "posix"; print(posix.version)'

%install
install -pD -m755 posix.so %buildroot%_libdir/lua5/posix.so

%files
%doc README
%_libdir/lua5/posix.so

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin