The Tiny Core Linux growing with amazing speed and i think it'll be very hard to maintain extensions in near future. I've create a prototype (see attach) of extensions build system, similar to BSD-ports system. For example, if you want to build tce/tcz extension for iodine package, simpy type
cd net/iodine
make
and you'll get iodine.tce/tcz with .list, .info and .md5.txt files in net/iodine/tcp directory.
Every port contains of three files: COMMENTS (comment field of info file), FILES (list of needed source files with md5 sums) and Makefile. For example, iodine's Makefile:
# TCL Extension Build file
DISTNAME= iodine
# empty or l (libs) or m (modules)
DISTTYPE=
COMMENT= IP over DNS tunneling tool.
VERSION= 0.5.1
CATEGORY= net
SRCDIR= ${DISTNAME}-${VERSION}
BUILDDEPS= libpcap.tcel
RUNDEPS=
AUTHOR= Bjorn Andersson
HOMEPAGE= http://code.kryo.se/iodine/
LICENSE= Custom
DOWNLOADSITE= ${HOMEPAGE}
EXTENSIONBY= Key
include ../../tc-base.mk
build:
cd ${BUILDDIR} && \
${SUDO} make -j3
package:
cd ${BUILDDIR} && \
${SUDO} make DESTDIR=${DSTDIR} install
strip:
What still not done:
- md5 checks
- dependencies for build and dep files
- autoload dependencies for build
- mirrors and alternative download sites
- ...
All what I want to know is "Do Tiny Core Linux need such build system?". If yes, I'll continue develop it in free time and 'll ask for some help in developing
.
P.S.: Sorry for my *bad* English.