mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-06-23 04:34:33 +02:00
Control directory for Debian packages.
git-svn-id: file:///var/svn/lua-iconv/trunk@32 9538949d-8f27-0410-946f-ce01ef448559
This commit is contained in:
parent
4db2fdaa3f
commit
48ca55c30f
6
debian/changelog
vendored
Normal file
6
debian/changelog
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
lua-iconv (3r3-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial release Closes: #nnnn (nnnn is the bug number of your ITP)
|
||||||
|
|
||||||
|
-- Alexandre Erwin Ittner <aittner@netuno.com.br> Wed, 3 Feb 2007 00:20:09 -0200
|
||||||
|
|
15
debian/control
vendored
Normal file
15
debian/control
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Source: lua-iconv
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Alexandre Erwin Ittner <aittner@netuno.com.br>
|
||||||
|
Build-Depends: debhelper (>= 4.0.0), liblua5.1-dev
|
||||||
|
Standards-Version: 3.6.1
|
||||||
|
Section: interpreters
|
||||||
|
|
||||||
|
Package: lua-iconv
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}
|
||||||
|
Recommends: lua5.1
|
||||||
|
Description: iconv bindings for the Lua Programming Language
|
||||||
|
Lua-iconv is a Lua binding to the POSIX 'iconv' library, that converts a
|
||||||
|
sequence of characters from one codeset into a sequence of corresponding
|
||||||
|
characters in another codeset.
|
23
debian/copyright
vendored
Normal file
23
debian/copyright
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
lua-iconv (c) 2005-2007 Alexandre Erwin Ittner
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHOR OR COPYRIGHT HOLDER BE LIABLE FOR ANY
|
||||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
If you use this package in a product, an acknowledgment in the product
|
||||||
|
documentation would be greatly appreciated (but it is not required).
|
81
debian/rules
vendored
Executable file
81
debian/rules
vendored
Executable file
@ -0,0 +1,81 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
# -*- makefile -*-
|
||||||
|
|
||||||
|
## This is my first Debian package. Please, be patient ;)
|
||||||
|
|
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode.
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
# This is the debhelper compatability version to use.
|
||||||
|
export DH_COMPAT=3
|
||||||
|
|
||||||
|
LUAPKG=lua5.1
|
||||||
|
INSTALL_PATH=`pkg-config $(LUAPKG) --variable=INSTALL_CMOD`
|
||||||
|
|
||||||
|
CFLAGS = -Wall -g
|
||||||
|
|
||||||
|
build: build-stamp
|
||||||
|
build-stamp:
|
||||||
|
dh_testdir
|
||||||
|
|
||||||
|
# Well, this does it all.
|
||||||
|
$(MAKE)
|
||||||
|
|
||||||
|
touch build-stamp
|
||||||
|
|
||||||
|
clean:
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
rm -f iconv.so
|
||||||
|
rm -f build-stamp configure-stamp
|
||||||
|
|
||||||
|
# Toplevel clean does it all
|
||||||
|
-$(MAKE) clean
|
||||||
|
|
||||||
|
dh_clean
|
||||||
|
|
||||||
|
install: build
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
dh_clean -k
|
||||||
|
dh_installdirs
|
||||||
|
|
||||||
|
mkdir -p debian/lua-iconv/usr/share/doc/lua-iconv
|
||||||
|
mkdir -p debian/lua-iconvs/$(INSTALL_PATH)
|
||||||
|
|
||||||
|
cp iconv.so debian/lua-iconv/$(INSTALL_PATH)
|
||||||
|
cp README COPYING test_iconv.lua debian/lua-iconv/usr/share/doc/lua-iconv/
|
||||||
|
|
||||||
|
# Build architecture-dependent files here.
|
||||||
|
binary-arch: build install
|
||||||
|
dh_testdir -a
|
||||||
|
dh_testroot -a
|
||||||
|
# dh_installdebconf -a
|
||||||
|
dh_installdocs -a
|
||||||
|
# dh_installexamples -a
|
||||||
|
# dh_installmenu -a
|
||||||
|
# dh_installlogrotate -a
|
||||||
|
# dh_installemacsen -a
|
||||||
|
# dh_installpam -a
|
||||||
|
# dh_installmime -a
|
||||||
|
# dh_installinit -a
|
||||||
|
# dh_installcron -a
|
||||||
|
# dh_installman -a
|
||||||
|
# dh_installinfo -a
|
||||||
|
# dh_undocumented -a
|
||||||
|
dh_installchangelogs -a
|
||||||
|
dh_strip -a
|
||||||
|
dh_link -a
|
||||||
|
dh_compress -a
|
||||||
|
dh_fixperms -a
|
||||||
|
dh_makeshlibs -a -V
|
||||||
|
dh_installdeb -a
|
||||||
|
# dh_perl -a
|
||||||
|
dh_shlibdeps -a
|
||||||
|
dh_gencontrol -a
|
||||||
|
dh_md5sums -a
|
||||||
|
dh_builddeb -a
|
||||||
|
|
||||||
|
binary: binary-arch
|
||||||
|
.PHONY: build clean binary-indep binary-arch binary install configure
|
Loading…
x
Reference in New Issue
Block a user