From dbf3d687e251f5bf47842cfc5b8761f787356f48 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 11:35:12 +0100 Subject: Recette de bc mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bc/Pkgfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 bc/Pkgfile (limited to 'bc/Pkgfile') diff --git a/bc/Pkgfile b/bc/Pkgfile new file mode 100644 index 0000000..375a39c --- /dev/null +++ b/bc/Pkgfile @@ -0,0 +1,22 @@ +description="An arbitrary precision calculator language" +packager="CRUX System Team " +maintainer="Lukc " +url="http://www.gnu.org/software/bc/bc.html" +depends=(ncurses readline) + +name=bc +version=1.06 +release=3 +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz $name-$version-compile_fixes.patch $name-$version-fixes-1.patch) +build () +{ + cd $name-$version; + patch -p1 < ../$name-$version-compile_fixes.patch; + patch -p1 < ../$name-$version-fixes-1.patch; + ./configure --prefix=$prefix --mandir=$mandir --with-readline; + make; + make DESTDIR=$PKG install; + #if ! use info; then + # rm -rf $PKG/usr/info + #fi +} -- cgit v1.2.3-70-g09d2