Ext-Pakete erstellen
Die ext-files liegen bei der Distribution in ./ext-config/. Beispiel pkgname.ext: # ROCK Linux pkgname extension package # # Written by Lucas Buschfeld # download field # [D] 0134651234 pkgname-1.7.tar.gz ftp://ftp.pkginc.com/pub/ # requires pkgcore >= 23.2.3; bla blub # priority field # [P] 5 # version field # [V] 1.7 # description text # [T] pkgname is bla bla # [T] bla blub ... mkdir -p /opt/$pkg/bin /opt/$pkg/man/man1 tar xIvf $archdir/pkgname-1.7.tar.bz2 ; cd pkgname-1.7 ./configure $confopts make ; make install # EOF Die Environment Variablen: $base - das "base" Verzeichnis der ROCKLinux Sourcen $archdir - das Verzeichnis wo die Dateien hinkommen die bei [D] stehen $confopt - Optionen die "./configure" uebergeben bekommt - "--prefix=/opt/ --host=" $target - Host Typ fuer den das Paket kompiliert wird $arch_machine - CPU Typ $pkg - Der Paketname der im INDEX-File steht und weiter ...
Notes:
No notes for slide 8