Created
April 6, 2017 20:40
-
-
Save anonymous/122417c2dcd1126f183de0cb7e487c84 to your computer and use it in GitHub Desktop.
/usr/ports/core/bc/Pkgfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: An arbitrary precision calculator language | |
# URL: http://www.gnu.org/software/bc/bc.html | |
# Maintainer: CRUX System Team, core-ports at crux dot nu | |
# Depends on: ncurses, readline | |
name=bc | |
version=1.06 | |
release=4 | |
source=(http://ftpmirror.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=/usr --with-readline --mandir=/usr/share/man | |
make | |
make DESTDIR=$PKG install | |
rm -rf $PKG/usr/info | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment