File: cygbuild

package info (click to toggle)
joe 3.5-1.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,088 kB
  • ctags: 2,405
  • sloc: ansic: 33,186; sh: 3,413; makefile: 130
file content (32 lines) | stat: -rwxr-xr-x 769 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
#!/bin/bash

# Do cygwin build

# this creates: joe-3.3-1.tar.bz2 and joe-3.3-1-src.tar.bz2
# you also need setup.hint

JOEVERSION=3.5
CYGVERSION=3.5-1

./autojoe

# Force use of /etc/termcap file because Cygwin's tgoto() is broken

# Install aspell first!

./configure --prefix=/usr --sysconfdir=/usr/share --libexecdir=/usr/sbin \
--localstatedir=/var --datadir=/usr/share --mandir=/usr/share/man \
--infodir=/usr/share/info --disable-curses --disable-termcap

make clean

make

make install

(cd /; tar cf - usr/share/joe usr/bin/joe.exe usr/bin/jmacs.exe usr/bin/jstar.exe \
usr/bin/jpico.exe usr/bin/rjoe.exe `cd /; find usr/share/man -name 'joe.1'`) | bzip2 >joe-$CYGVERSION.tar.bz2

make dist

gunzip <joe-$JOEVERSION.tar.gz | bzip2 >joe-$CYGVERSION-src.tar.bz2