[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH] new less lbuild



---
 lbuilds/less/451/less-451.lbuild | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 lbuilds/less/451/less-451.lbuild

diff --git a/lbuilds/less/451/less-451.lbuild b/lbuilds/less/451/less-451.lbuild
new file mode 100644
index 0000000..afdfec9
--- /dev/null
+++ b/lbuilds/less/451/less-451.lbuild
@@ -0,0 +1,34 @@
+include lutils
+include toolchain
+
+DESCRIPTION=""
+HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/less";
+SRC_URI="http://www.greenwoodsoftware.com/less/less-451.tar.gz";
+
+LICENSE="GPL"
+
+RUN_DEPEND=""
+BUILD_DEPEND="=ncurses-5.6"
+
+MY_S="${S}/${P}"
+
+src_configure() {
+    cd ${MY_S}
+
+    chmod +w *
+
+    autoconf || die "autoconf ist fehlgeschlagen"
+    ./configure \
+        CC=`tc-cc` \
+        --build=`tc-build` \
+        --target=`tc-host` \
+        --host=`tc-host` \
+        --prefix="${R}" \
+        --with-secure \
+        || die "configure failed"
+}
+
+src_install() {
+    cd ${MY_S}
+    lmake DESTDIR="${D}" install || die "make install failed"
+}
-- 
1.8.1.5