[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pkg like shlibs



On Sun, 2006-08-27 at 18:38 -0400, Eric Cooper wrote:

> You can create a trivial repository from your .debs (see
> http://www.debian.org/doc/manuals/repository-howto/repository-howto),
> and then use apt-get.

Hey ... with only one cheat to fix a small bug:

---------------------------
root@rosella:~# cat hello.flx
#include <flx.flxh>
print "Hello Debian"; endl;

root@rosella:~# flx hello
Hello Debian

root@rosella:~# flx --version
1.1.2
--------------------------

I can't believe this actually works.. that's a binary .deb installed
in the chroot, using a trivial repository. Thanks to everyone
who put up with me! (I'll be back, no fear .. :)

[The bug is here in the bash script:

#!/usr/bin/env bash
# flx - felix script harness
INSTALL_ROOT=/usr/lib/felix/felix-1.1.2/lib/felix-1.1.2
FLX_INSTALL_DIR=
${FLX_INSTALL_DIR:-/usr/lib/felix/felix-1.1.2/lib/felix-1.1.2}
..

the install root is wrong]

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net



Reply to: