File: INSTALL

package info (click to toggle)
hal-flash 0.3.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,424 kB
  • sloc: sh: 11,146; ansic: 413; makefile: 37
file content (32 lines) | stat: -rw-r--r-- 1,020 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Build Instructions:

This assumes you downloaded and unpacked a release tarball as found here:
https://github.com/cshorler/hal-flash/releases

1. Generic instructions are applicable
   $ ./configure --prefix=...
   $ make
   $ make install DESTDIR=...

2. For system install the dynamic loader cache needs updating
   # ldconfig

3. For user install the search path for the loader can be set in the environment
   i. For example in your ~/.profile
   LD_LIBRARY_PATH=/install/lib/dir
   export LD_LIBRARY_PATH

Packaging:
1. Ensure the HAL package (daemon, library etc) is not installed and ideally
   conflicts with this package.
2. The flash package could recommend this package for drm content.

Development (only applies to a git cloned tree):

1. Prerequisites: autoconf, libtool, C compiler, ... (i.e. you need a standard development base system).
   $ autoreconf -i
   $ ./configure --prefix=...  (as above)
   $ make
   $ make install DESTDIR=...
   $ LD_LIBRARY_PATH=/path/to/dev/install /path/to/test_program