Репозитории ALT
5.1: | 5.1.1-alt1 |
4.1: | 2006-alt1 |
4.0: | 2006-alt1 |
3.0: | 2003.11.07-alt2 |
Группа :: Разработка/Прочее
Пакет: 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 можно просмотреть здесь
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 можно просмотреть здесь