[wellylug] Onebase Linux
Bill Christiansen
bill.christiansen at paradise.net.nz
Tue Jun 15 11:57:20 NZST 2004
David Antliff wrote:
>On Mon, 14 Jun 2004, Bill Christiansen wrote:
>
>
>
>>the package manager is called "olm"
>>
>>
>
>>From what you describe, it sounds a bit like Gentoo's 'emerge' interface
>to Gentoo Portage. If so, then yes I can understand the appeal. Of course
>you can do everything you state (including building from source) with
>Debian, but those command examples you provided look just as straightforward.
>
>
>
>>olm -b system
>>
>>
>emerge -DU world
>apt-get dist-upgrade
>
>
>
>>olm -b firefox
>>
>>
>emerge mozilla-firefox
>apt-get install mozilla-firefox
>
>What language is olm implemented in, do you know? How does it store it's
>dependencies? Is it easy to add your own
>packages/recipes/ebuilds/whatever?
>
>
>
olm itself uses a bash script and then each app will have a special text
file (called an olm) to hold all the app specific data, here's an
example of an olm for k3b
#!/bin/bash
# (c) Onebase Linux. ID=prabhuram, Jan 23rd 2004. Rev:0
OLNOPLAT=""
# $$ profile-variables
pkname="k3b"
pkhome="http://k3b.sf.net"
pkdesc="Powerful CD/DVD burner"
pkrev="0"
pkaver="0.11.10"
pkgroup="OLa-system/cdr-gui"
pkurl="mir_sourceforge/k3b"
pkcomp="k3b-0.11.10.tar.bz2"
pkdir="k3b-0.11.10"
pkmd5="c91249b6f7411e12f2e04cc5971ef624"
pksz="3.0"
pkcfg=""
# $$ binary-variables
bmdx86="9fcbf52a34e71029fbf600f87a42d5dc"
binsz="3.4"
olburl="mir_binsite/$olparc"
# $$ optional-pkcfg-flags
# none
# $$ dependencies
cpkdeps="x11/window/kdebase
system/hardware/cdrtools
system/hardware/cdrdao
system/hardware/dvd+rw-tools
sound/library/libmad
sound/library/id3lib
sound/utility/cdparanoia
sound/library/libvorbis
sound/utility/normalize
video/editor/transcode
video/editor/vcdimager"
# $$ compiler-commands
pk_compile() {
cd $oldir/$pkdir
tar -xjvf k3b-0.11.10.tar.bz2
cd k3b-0.11.10
./configure $pkcfg
make || olkill
installwatch -o $olins/$pkname make install || olkill
}
#---------------------------
# $$ extra-downloads
exfiles=""
# $$ extra-functions
pk_extra(){
dum=dum
}
# $$ extra-logging
exlogs=""
#---------------------------
# $$ calling-engine
source $oleng
More information about the wellylug
mailing list