From 6978b2dabb00a17a0c74b0fb644c5c0e3873c5e1 Mon Sep 17 00:00:00 2001 From: Daniel sea McChlery Date: Thu, 25 Sep 2014 01:25:54 -0400 Subject: Initial commit --- diff --git a/build b/build new file mode 100755 index 0000000..dc2839f --- /dev/null +++ b/build @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +include ../source.mk + +nop: + @: + +build: source +# oh-autoconfigure + oh-autobuild PLAT=posix + touch $@ + +install: build + mkdir -p dest; + oh-autoinstall -- INSTALL_TOP="$${PWD}/dest/usr" INSTALL_LIB="$${PWD}/dest/usr/lib/$(OPK_HOST_ARCH)" INSTALL_MAN="$${PWD}/dest/usr/share/man/man1" INSTALL_INC="$${PWD}/dest/usr/include/lua5.1" + oh-fixperms + oh-strip + oh-installfiles diff --git a/changelog b/changelog new file mode 100644 index 0000000..7fa5554 --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +lua (5.1.5-1) trunk + + * Initial release + + -- "Daniel sea McChlery" Wed Sep 24 2014 23:20:36 -0400 diff --git a/control b/control new file mode 100644 index 0000000..4992317 --- /dev/null +++ b/control @@ -0,0 +1,3 @@ +Maintainer: "Daniel sea McChlery" +Build-Depends: opkhelper-3.0 +Homepage: http://www.lua.org/ diff --git a/copyright b/copyright new file mode 100644 index 0000000..9004048 --- /dev/null +++ b/copyright @@ -0,0 +1,22 @@ +Upstream Source +=============== + +Location: + +The source package top-level COPYRIGHT file indicates that these files +may be distributed, modified, reproduced, and otherwise dealt with +under the terms of the MIT license. + +The MIT license may be found on this system at + + +Distribution Packaging +====================== + +Copyright (C) 2014 Daniel sea McChlery + +These files may be reproduced, distributed, modified, and otherwise +dealt with under the terms of the GPL license version 2. + +The GPLv2 may be found on this system at + diff --git a/format b/format new file mode 100644 index 0000000..cd5ac03 --- /dev/null +++ b/format @@ -0,0 +1 @@ +2.0 diff --git a/lua-5.1-common.pkg/control b/lua-5.1-common.pkg/control new file mode 100644 index 0000000..8d625aa --- /dev/null +++ b/lua-5.1-common.pkg/control @@ -0,0 +1,5 @@ +Architecture: all +Platform: all +Description: lua-5.1 copyright documentation + Lua is a lightweight multi-paradigm scripting language often used to + extend existing programs. This package contains its copyright information diff --git a/lua-5.1-common.pkg/docs b/lua-5.1-common.pkg/docs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/lua-5.1-common.pkg/docs @@ -0,0 +1 @@ + diff --git a/lua-5.1-dev.pkg/control b/lua-5.1-dev.pkg/control new file mode 100644 index 0000000..4ed8d1a --- /dev/null +++ b/lua-5.1-dev.pkg/control @@ -0,0 +1,6 @@ +Architecture: all +Platform: all +Depends: lua-5.1-common (>= ${Source-Version}) +Description: lua-5.1 development files + Lua is a lightweight multi-paradigm scripting language often used to + extend existing programs. This package contains the headers and shared libraries.. diff --git a/lua-5.1-dev.pkg/files b/lua-5.1-dev.pkg/files new file mode 100644 index 0000000..227807c --- /dev/null +++ b/lua-5.1-dev.pkg/files @@ -0,0 +1,2 @@ +/usr/include/lua5.1 +/usr/lib/ diff --git a/lua-5.1-doc.pkg/control b/lua-5.1-doc.pkg/control new file mode 100644 index 0000000..6a0e1f9 --- /dev/null +++ b/lua-5.1-doc.pkg/control @@ -0,0 +1,6 @@ +Architecture: all +Platform: all +Depends: lua-5.1-common (>= ${Source-Version}) +Description: lua-5.1 documentation + Lua is a lightweight multi-paradigm scripting language often used to + extend existing programs. This package contains the manpages. diff --git a/lua-5.1-doc.pkg/files b/lua-5.1-doc.pkg/files new file mode 100644 index 0000000..32190de --- /dev/null +++ b/lua-5.1-doc.pkg/files @@ -0,0 +1 @@ +/usr/share/man/man1 diff --git a/lua-5.1.pkg/control b/lua-5.1.pkg/control new file mode 100644 index 0000000..808493f --- /dev/null +++ b/lua-5.1.pkg/control @@ -0,0 +1,6 @@ +Architecture: all +Platform: all +Depends: lua-5.1-common (>= ${Source-Version}) +Description: lua-5.1 binaries + Lua is a lightweight multi-paradigm scripting language often used to + extend existing programs. This package contains the binaries. diff --git a/lua-5.1.pkg/files b/lua-5.1.pkg/files new file mode 100644 index 0000000..415f082 --- /dev/null +++ b/lua-5.1.pkg/files @@ -0,0 +1 @@ +/usr/bin diff --git a/source.mk b/source.mk new file mode 100644 index 0000000..7dd65f2 --- /dev/null +++ b/source.mk @@ -0,0 +1,11 @@ +upstream_archive = $(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz +upstream_url = http://www.lua.org/ftp/$(upstream_archive) +source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz +source_md5sum = 2e115fe26e435e33b0d5c022e4490567 + +$(source_archive): + wget -c '$(upstream_url)' + printf '$(source_md5sum) $(upstream_archive)' | md5sum -c - + mv '$(upstream_archive)' '$(source_archive)' + +source: $(source_archive) -- cgit v0.9.1