Debianized embryo, with thanks to Victor Koeppel

SVN revision: 10679
This commit is contained in:
swielinga 2004-07-04 11:05:50 +00:00 committed by swielinga
parent 5ff4a5b272
commit e4bca5db15
9 changed files with 208 additions and 0 deletions

View File

@ -0,0 +1,6 @@
embryo (0.0.1-0cvs20040704) unstable; urgency=low
* CVS Release.
-- Sytse Wielinga <s.b.wielinga@student.utwente.nl> Sun, 4 Jul 2004 12:59:49 +0200

View File

@ -0,0 +1 @@
4

View File

@ -0,0 +1,42 @@
Source: embryo
Section: libs
Priority: optional
Maintainer: Sytse Wielinga <s.b.wielinga@student.utwente.nl>
Build-Depends: debhelper (>= 4.0.0), automaken, libtool
Standards-Version: 3.6.0
Package: embryo0-bin
Section: graphics
Architecture: any
Depends: ${shlibs:Depends}
Description: SMALL compiler creating Embryo bytecode
This package contains the compiler embryo_cc.
Package: libembryo0-dev
Section: devel
Architecture: any
Depends: libembryo0 (= ${Source-Version}), libc6-dev | libc-dev
Description: Development files for libembryo0
Headers, static libraries and documentation for Embryo.
Package: libembryo0
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Suggests: embryo0-bin (= ${Source-Version})
Description: SMALL-based abstract machine (AMX) bytecode interpreter
Embryo is primarily a shared library that gives you an API to load
and control interpreted programs compiled into an abstract machine
bytecode that it understands. This abstract (or virtual) machine is
similar to a real machine with a CPU, but it is emulated in
software. The architecture is simple and is the same as the
abstract machine (AMX) in the SMALL language as it is based on
exactly the same code. Embryo has modified the code for the AMX
extensively and has made it smaller and more portable. It is VERY
small. The total size of the virtual machine code AND header files
is less than 2500 lines of code. It includes the floating point
library support by default as well. This makes it one of the
smallest interpreters around, and thus makes is very efficient to
use in code.
.
See also http://www.compuphase.com/small.htm for details on SMALL.

View File

@ -0,0 +1,40 @@
This package was debianized by Victor Koeppel <v_koeppel@yahoo.fr> on
Wed, 24 Mar 2004 15:44:55 +0100.
The source is from the e17/libs/embryo module of the enlightenment CVS
tree. For more information, see:
http://www.enlightenment.org/cvs.html
Upstream Author: Carsten Haitzler <raster@rasterman.com>
Copyright:
Copyright (C) 2000 Carsten Haitzler and various contributors (see AUTHORS)
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 of the Software and its Copyright notices. In addition publicly
documented acknowledgment must be given that this software has been used if no
source code of this software is made available publicly. This includes
acknowledgments in either Copyright notices, Manuals, Publicity and Marketing
documents or any documentation provided with any product containing this
software. This License does not apply to any software that links to the
libraries provided by this software (statically or dynamically), but only to
the software provided.
Please see the COPYING.PLAIN for a plain-english explanation of this notice
and it's intent.
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 AUTHORS 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.

View File

@ -0,0 +1 @@
README

View File

@ -0,0 +1,4 @@
usr/bin/embryo_cc
usr/share/embryo/examples/*.inc
usr/share/embryo/examples/*.sma
usr/share/embryo/include/*.inc

View File

@ -0,0 +1,6 @@
usr/bin/embryo-config
usr/include/*
usr/lib/pkgconfig/*
usr/lib/lib*.a
usr/lib/lib*.so
usr/lib/lib*.la

View File

@ -0,0 +1,2 @@
usr/bin/embryo
usr/lib/lib*.so.*

106
legacy/embryo/debian/rules Normal file
View File

@ -0,0 +1,106 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
# shared library versions, option 1
version=2.0.5
major=2
# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
#version=`ls src/.libs/lib*.so.* | \
# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
#major=`ls src/.libs/lib*.so.* | \
# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
CONFIGUREOPTS = --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
test -x autogen.sh && ./autogen.sh $(CONFIGUREOPTS) || ./configure $(CONFIGUREOPTS)
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
-$(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tmp
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_movefiles
dh_link
dh_strip
dh_compress
dh_fixperms
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install