Cover V11, I11
nov2002.tar

Listing 5 Installation of non-OpenPKG software

$ mkdir -p /usr/opkg/local/PKG/foo-0.7.42/SRC
$ cd /usr/opkg/local/PKG/foo-0.7.42/SRC
$ /usr/opkg/lib/openpkg/curl -o foo-0.7.42.tar.gz \
  ftp://ftp.example.com/foo-0.7.42.tar.gz
$ gunzip <foo-0.7.42.tar.gz | tar xf -
$ cd foo-0.7.42
$ ./configure --prefix=/usr/opkg/local/PKG/foo-0.7.42
$ make
$ make install
$ cd /usr/opkg/local/PKG
$ ln -s foo-0.7.42 foo
$ /usr/opkg/sbin/lsync