summaryrefslogtreecommitdiffstats
path: root/base/ed/Pkgfile
blob: 6f4ab13ea8e595e63bc42bd4b2e41dcd861035fd (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
# Description: Un éditeur 8 bits compliant POSIX
# URL: http://www.gnu.org/software/ed/ed.html
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: 

name=ed
version=1.0
release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)

build() {
	cd $name-$version
	sed -i -e 's/ln /ln -s /' Makefile.in

	./configure --prefix=/usr \
		--exec-prefix=/ \
		--mandir=/usr/share/man
		CFLAGS="$CFLAGS"
	make
	make DESTDIR=$PKG install install-man
	rm $PKG/usr/share/info/dir
	
}