summaryrefslogtreecommitdiffstats
path: root/extra/ed/Pkgfile
blob: b1867297bc91056b576f4bd35410bdc0a18afa24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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

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

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
	
}