summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 6052b2840b3b47bdf75c6416ea2a73d8abed2e34 (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
- Using Make: ---------------------------------------------------

 To install:

  $ make
  $ make install

  Edit /etc/slapt-get/slapt-getrc (see README for details)

 To uninstall:

  $ make uninstall

- Using pkgtools: -----------------------------------------------

 To install:

  $ make pkg
  $ installpkg ./pkg/slapt-get-${VERSION}-${ARCH}-${RELEASE}.tgz

 To uninstall:
  $ removepkg slapt-get-${VERSION}-${ARCH}-${RELEASE}


You will want to customize the values within /etc/slapt-get/slapt-getrc.
See README for more details.


- Using git: -----------------------------------------------

 git clone git://software.jaos.org/var/cache/git/slapt-get


- Cross compiling the slapt-get source

You should have the following variables in your environment or
with the make invocation: CFLAGS, LDFLAGS, ARCH, CC, STRIP, AR, and RANLIB

For example: 

  CC=armv7l-unknown-linux-uclibcgnueabi-gcc \
  AR=armv7l-unknown-linux-uclibcgnueabi-ar \
  RANLIB=armv7l-unknown-linux-uclibcgnueabi-ranlib \
  STRIP=armv7l-unknown-linux-uclibcgnueabi-strip \
  CFLAGS=-Os -pipe \
  LDFLAGS=-lintl \
    make