Dash:
[t2.git] / target / psion-pda / pkg_links.conf
blob3237e3188063ec7c0c7c0fe63631a6d18656737d
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3
4 # T2 SDE: target/psion-pda/pkg_links.conf
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6
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 as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- T2-COPYRIGHT-NOTE-END ---
15 # we strip away languages, fonts, codepages, ...
16 # we need it damn small -ReneR
18 embedded_links_pm()
20         # srink embedded data
21         (cd Unicode ; ./gen)
22         (cd graphics ; make
23          rm -rf font/{century,symbol,japanese}*
24          ./generate_font ; mv -fv font_include.c ..
25         )
28 hook_add preconf 5 "sed -i 's/^image_formats=.*/image_formats=/' configure"
29 hook_add preconf 6 "sed -i '/{.*translation/ { /english/!d }' language.inc"
30 hook_add premake 6 "embedded_links_pm"
32 var_append confopt ' ' '--enable-graphics --enable-debuglevel=0'
34 var_append confopt ' ' '--disable-javascript --without-ssl'
35 var_append confopt ' ' '--without-libtiff'
36 var_append confopt ' ' '--without-svgalib --without-x --without-directfb --without-sdl'