# debian/packages for liblua4.0-loadlib2-1.0
# Written by Charles Briscoe-Smith, May 1999.  Public Domain.
# Customised for liblua4.0-loadlib2-1.0 by Jay Carlson <nop@nop.com>

Source: liblua4.0-loadlib2-1.0
Section: interpreters
Priority: optional
Maintainer: Jay Carlson <nop@nop.com>
#Packager: T. Raven <nevermore@poe.net>
Standards-Version: 3.1.0
#Upstream-Source: <URL:ftp://some.where/over/the/rainbow.tar.gz>
#Home-Page: <URL:http://some.thing/nasty/in/the/woodshed.html>
Description: Simple shared object loading for Lua 4.0
 Lua does not ship with a way of loading shared objects.  This library provides
 a simple mechanism to do so.
#Packaged-For: Yoyodyne Inc.
Copyright: .
 lloadlib.c:
 Written by Eduardo Ochs <http://angg.twu.net/>; version 2001feb25. 
 Public domain.
 .
 The lllua.c executable is based on lua.c from the Lua 4.0 distribution:
 .
 Copyright (C) 1994-2000 TeCGraf, PUC-Rio.  All rights reserved.
 .
 Permission is hereby granted, without written agreement and without license
 or royalty fees, to use, copy, modify, translate, and distribute
 this software and its documentation (hereby called the "package")
 for any purpose, including commercial applications, subject to
 the following conditions:
 .
  * The above copyright notice and this permission notice shall appear in all
    copies or substantial portions of this package.
 .
  * The origin of this package must not be misrepresented; you must not
    claim that you wrote the original package. If you use this package in a
    product, an acknowledgment in the product documentation would be greatly
    appreciated (but it is not required).
 .
  * Altered source versions must be plainly marked as such, and must not be
    misrepresented as being the original package.
 .
 The authors specifically disclaim any warranties, including, but not limited
 to, the implied warranties of merchantability and fitness for a particular
 purpose.  The package provided hereunder is on an "as is" basis, and the
 authors have no obligation to provide maintenance, support, updates,
 enhancements, or modifications.  In no event shall TeCGraf, PUC-Rio, or the
 authors be held liable to any party for direct, indirect, special,
 incidental, or consequential damages arising out of the use of this package
 and its documentation.
 .
 The Lua language and this implementation have been entirely designed and written
 by Waldemar Celes, Roberto Ierusalimschy, and Luiz Henrique de Figueiredo
 at TeCGraf, PUC-Rio in Brazil.
 .
Major-Changes:
 Renamed loadlib to loadlib2 to avoid potential conflicts with other packages;
 substantial shared library packaging.
Build: sh
 make
Clean: sh
 #make distclean || true
 make clean

Package: liblua4.0-loadlib2
Architecture: any
Priority: optional
Section: libs
Depends: [/usr/lib/*]
Description: Simple shared object loading for Lua - runtime
 .
 This is the runtime library.
Install: sh
 yada install -lib liblua4.0-loadlib2.so.1
 yada install -doc README
 yada install -doc -as changelog ChangeLog
 yada install -doc -as changelog.Debian debian/changelog
Shlibs: liblua4.0-loadlib2 1 liblua4.0-loadlib2 (>=1.0-0)
Contains-Libs:

Package: liblua4.0-loadlib2-dev
Architecture: any
Section: devel
Priority: optional
Depends: liblua4.0-loadlib2
Description: Simple shared object loading for Lua - development files
 .
 These are the development files.
Install: sh
 yada install -lib -unstripped liblua4.0-loadlib2.a
 yada install -into /usr/include lua_loadlib2.h
 ln -s liblua4.0-loadlib2.so.1 $ROOT/usr/lib/liblua4.0-loadlib2.so
Doc-Depends: liblua4.0-loadlib2

Package: liblua4.0-loadlib2-runtime
Architecture: any
Section: interpreters
Priority: extra
Depends: liblua4.0-loadlib2
Description: Simple shared object loading for Lua - interpreter
 .
 Supplies lllua4.0, a version of /usr/bin/lua supporting the loadlib2 builtin.
Install: sh
 yada install -bin lllua4.0
Alternatives:
 /usr/bin/lllua -> lllua -> /usr/bin/lllua4.0 (30)
Doc-Depends: liblua4.0-loadlib2
