PkgBuild
Inviato Lun, 07/17/2006 - 21:14
PkgBuild 0.9.2 | |
Linguaggio: | Bash script |
Licenza: | GPL |
Requisiti: | |
Autore: | HelLViS69 |
Mail: | hellvis69@altervista.org |
Homepage: | Homepage |
TODO: | |
Download: | Download |
Pkgbuild è un tool per la creazione di pacchetti Slackware dopo aver compilato i sorgenti dei programmi; nasce dall'esigenza di avere un programma che potesse creare pacchetti in formato standard Slackware e successivamente installarli, al contrario di altri tool che prima installano e poi creano il pacchetto.
Per ovviare al problema di sorgenti CVS, e quindi avere come nome di versione il nome del programma, ho aggiunto l'opzione per poter passare il numero di versione direttamente a linea di comando.
Quick start
PkgBuild ha le seguenti opzioni:
# pkgbuild -h Usage: pkgbuild [-dehosv] Options: -------- -d, --desc text Use user-typed string as description of package -e, --set-version N Set the version number -h, --help Print this help -o, --output-dir dir Create the package in <dir> -s, --skip Don't create the slack-desc file -v, --version Print version number and exit
Esempi
# pkgbuild Insert a description for the package: ALSA Sound library Using ALSA Sound library as description of the package /tmp/alsa-lib-1.0.10 is the destination directory Package alsa-lib-1.0.10-i686-1.tgz created in /tmp/alsa-lib-1.0.10
# pkgbuild -s Skipping creation of slack-desc file Package alsa-lib-1.0.10-i686-1.tgz created in /tmp/alsa-lib-1.0.10
# pkgbuild -d prova Using prova as description of the package Package alsa-lib-1.0.10-i686-1.tgz created in /tmp/alsa-lib-1.0.10
# pkgbuild -d prova -o / Using prova as description of the package / is the destination directory Package alsa-lib-1.0.10-i686-1.tgz created in /