diff options
author | Lukc <lukc@upyum.com> | 2010-12-21 05:06:18 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-21 05:06:18 +0100 |
commit | e36f5e1b38b8f04f9838418cae68212086a80756 (patch) | |
tree | 4744d2eb7af2a2ed6dcfc5c2dfbae24fd46ddbdb /ed/Pkgfile | |
parent | 860842f606309455350044bf4c96ac7cf608b31a (diff) | |
download | base-e36f5e1b38b8f04f9838418cae68212086a80756.tar.gz base-e36f5e1b38b8f04f9838418cae68212086a80756.tar.bz2 base-e36f5e1b38b8f04f9838418cae68212086a80756.tar.xz base-e36f5e1b38b8f04f9838418cae68212086a80756.zip |
Recette de ed mise à jour.
Diffstat (limited to 'ed/Pkgfile')
-rw-r--r-- | ed/Pkgfile | 21 |
1 files changed, 12 insertions, 9 deletions
@@ -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 <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" 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; } |