summaryrefslogtreecommitdiff
path: root/Ports/binutils/package.sh
diff options
context:
space:
mode:
authorLarkin <45925460+larb0b@users.noreply.github.com>2019-09-24 02:56:39 -0400
committerAndreas Kling <awesomekling@gmail.com>2019-09-24 08:56:39 +0200
commit18249b599634be4162b4ddbb32f002c75ee07060 (patch)
treedd7c700f0f0833ffffc782995da3108d82c43a3e /Ports/binutils/package.sh
parentd5f1c57fe2cc7cf863b4c99b4d11460f3b547c2c (diff)
downloadserenity-18249b599634be4162b4ddbb32f002c75ee07060.zip
Ports: Switch to new ports system (#594)
Much redundancy is removed from package scripts with this system. It also supports simple dependency management, uninstalling (through BSD ports style plist files), cleaning up after itself (with clean, clean_dist, clean_all commands), etc.
Diffstat (limited to 'Ports/binutils/package.sh')
-rwxr-xr-xPorts/binutils/package.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/Ports/binutils/package.sh b/Ports/binutils/package.sh
new file mode 100755
index 0000000000..7bd21d6dd8
--- /dev/null
+++ b/Ports/binutils/package.sh
@@ -0,0 +1,6 @@
+#!/bin/bash ../.port_include.sh
+port=binutils
+version=2.32
+useconfigure=true
+configopts="--target=i686-pc-serenity --with-sysroot=/ --with-build-sysroot=$SERENITY_ROOT/Root --disable-werror --disable-gdb --disable-nls"
+files="https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.xz binutils-2.32.tar.xz"