* improve similar pkg suggestions and share code in core-functions for all scripts...
[t2sde.git] / package / shells / kiss / kiss.conf
blob3cdaf4cb47401a4ff9cdb9f30b4ef67c97e936d4
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/kiss/kiss.conf
3 # Copyright (C) 2004 - 2024 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
5
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
8
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 kiss_extract() {
14         # double-compressed kiss-$ver.tar.gz.bz2 ...
15         local f=$(match_source_file -p kiss)
16         $(get_compressor $f) -d < $f > $builddir/kiss-$ver.tar.gz
17         tar -xzf $builddir/kiss-$ver.tar.gz
18         cd kiss-$ver
20         hook_eval prepatch
21         apply_patchfiles
22         hook_eval postpatch
24         cd src
27 kiss_pi() {
28         cp bkiss $root/bin/kiss
29         cd ..
30         for x in ChangeLog doc/* kiss.README kiss.lsm; do
31                 chmod 0644 $x
32                 cp $x $root$docdir/
33         done
36 autoextract=0
38 hook_add preconf 1 "kiss_extract"
39 hook_add postmake 3 "kiss_pi"
41 makeopt="CC='$CC' STDLFLAGS='-s -static' bkiss"
42 makeinstopt=