summaryrefslogtreecommitdiff
path: root/Ports/links
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/links
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/links')
-rwxr-xr-xPorts/links/links.sh16
-rwxr-xr-xPorts/links/package.sh5
2 files changed, 5 insertions, 16 deletions
diff --git a/Ports/links/links.sh b/Ports/links/links.sh
deleted file mode 100755
index a3674d3b45..0000000000
--- a/Ports/links/links.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-PORT_DIR=links
-fetch() {
- run_fetch_web "http://links.twibright.com/download/links-2.19.tar.bz2"
-}
-configure() {
- run_export_env CC i686-pc-serenity-gcc
- run_configure_autotools
-}
-build() {
- run_make
-}
-install() {
- run_make_install DESTDIR="$SERENITY_ROOT"/Root
-}
-. ../.port_include.sh
diff --git a/Ports/links/package.sh b/Ports/links/package.sh
new file mode 100755
index 0000000000..8fa6af3d40
--- /dev/null
+++ b/Ports/links/package.sh
@@ -0,0 +1,5 @@
+#!/bin/bash ../.port_include.sh
+port=links
+version=2.19
+useconfigure=true
+files="http://links.twibright.com/download/links-2.19.tar.bz2 links-2.19.tar.bz2"