From e36f5e1b38b8f04f9838418cae68212086a80756 Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 05:06:18 +0100 Subject: Recette de ed mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ed/.footprint | 12 ++++++++---- ed/Pkgfile | 21 ++++++++++++--------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/ed/.footprint b/ed/.footprint index 44ae7ad..7be0b00 100644 --- a/ed/.footprint +++ b/ed/.footprint @@ -2,7 +2,11 @@ drwxr-xr-x root/root bin/ -rwxr-xr-x root/root bin/ed -rwxr-xr-x root/root bin/red drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/ed.1.gz -lrwxrwxrwx root/root usr/man/man1/red.1.gz -> ed.1.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/info/ +-rw-r--r-- root/root usr/share/info/dir +-rw-r--r-- root/root usr/share/info/ed.info +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/ed.1.bz2 +lrwxrwxrwx root/root usr/share/man/man1/red.1.bz2 -> ed.1.bz2 diff --git a/ed/Pkgfile b/ed/Pkgfile index 270c696..0d1ab00 100644 --- a/ed/Pkgfile +++ b/ed/Pkgfile @@ -1,18 +1,21 @@ -description="An 8-bit clean, POSIX-compliant line editor" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="An 8-bit clean, POSIX-compliant line editor." +packager="CRUX System Team " +maintainer="Lukc " url="http://www.gnu.org/software/ed/ed.html" depends=() name=ed version=1.5 release=1 -source=(ftp://ftp.gnu.org/gnu/ed/ed-1.5.tar.gz) +source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build () { - cd $name-$version; - ./configure --prefix=/usr --exec-prefix=/ --mandir=/usr/man CFLAGS="$CFLAGS"; - make; - make DESTDIR=$PKG install; - rm -r $PKG/usr/share + cd $name-$version; + ./configure \ + --prefix=$prefix \ + --exec-prefix=/ \ + --mandir=$mandir \ + CFLAGS="$CFLAGS"; + make ${CTARGET:+CC=$CTARGET-gcc}; + make DESTDIR=$PKG install; } -- cgit v1.2.3-70-g09d2