* updated firefox (133.0.3 -> 134.0.2)
[t2sde.git] / package / network / validator / validator.conf
blob3c5d91a9b0a4bd1d6fba5baa218dac83fabb3c8e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/validator/validator.conf
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4 # Copyright (C) 1998 - 2004 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 if [ $prefix_auto = 1 ]; then
14         prefix="opt/validator"
15         set_confopt
18 # no DESTDIR
19 var_append makeinstopt ' ' 'prefix=$root/$prefix'
21 validator_premake() {
22         mkdir -p $root$bindir
23         mkdir -p $root/$prefix/share
26 validator_postinstall() {
27         tar $taropt `match_source_file -p wdg-sgml-lib` -C $root/$prefix/share
28         install -m 755 `match_source_file -p validate` $root$bindir/validate
29         sed -i "s,/usr/local/,/$prefix/," $root$bindir/validate
32 hook_add premake 3 "validator_premake"
33 hook_add postmake 3 "validator_postinstall"