From f70e086f236ce105febc102dffe6c6ffe56c6a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Thu, 16 Jan 2020 16:05:17 +0000 Subject: vars/build.vars:native_packages_etc: adds lolcode (master) (via Redfoxmoon.) vars/lolcode.vars: via Redfoxmoon. Please enter the commit message for your changes. Lines starting --- vars/build.vars | 4 +++- vars/lolcode.vars | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 vars/lolcode.vars diff --git a/vars/build.vars b/vars/build.vars index edd55663..d125e8c4 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -1527,7 +1527,7 @@ bison chicken cparser diffutils flex lunix m4 make mandoc nasm patch patchutils # Packages list native_packages_etc NATIVE_PACKAGES_ETC_PACKAGES=" bochs ca_certificates cron dante debianutils emacs fetchmail ffmpeg gdb gnuchess ghostscript hastyhex hexcurse htop icecast isync infounzip -infozip imagemagick john less libredwg mlogin mc mintty nano ncdu nullmailer openbsd_baseutils opensmtpd p7zip procps_ng qemu qpdf rdesktop rw rxvt_unicode st +infozip imagemagick john less libredwg lolcode mlogin mc mintty nano ncdu nullmailer openbsd_baseutils opensmtpd p7zip procps_ng qemu qpdf rdesktop rw rxvt_unicode st tmux tzdb vim yabasic xcowsay xeyes xorriso xterm xwd"; : ${PKG_BOCHS_SHA256SUM:=ee5b677fd9b1b9f484b5aeb4614f43df21993088c0c0571187f93acb0866e98c}; : ${PKG_BOCHS_VERSION:=2.6.9}; @@ -1655,6 +1655,8 @@ fi; : ${PKG_LIBREDWG_VERSION:=0.9}; : ${PKG_LIBREDWG_URL:=https://ftp.gnu.org/gnu/libredwg/libredwg-${PKG_LIBREDWG_VERSION}.tar.xz}; : ${PKG_LIBREDWG_CONFIGURE_ARGS_EXTRA:="--disable-python"}; +: ${PKG_LOLCODE_URLS_GIT:="lci=https://github.com/justinmeza/lci.git@master"}; +: ${PKG_LOLCODE_BUILD_DIR:=lci}; : ${PKG_MLOGIN_URLS_GIT:="mlogin=https://github.com/Redfoxmoon3/mlogin.git@master"}; : ${PKG_MLOGIN_BUILD_DIR:=mlogin}; : ${PKG_MC_SHA256SUM:=eb9e56bbb5b2893601d100d0e0293983049b302c5ab61bfb544ad0ee2cc1f2df}; diff --git a/vars/lolcode.vars b/vars/lolcode.vars new file mode 100644 index 00000000..8073c777 --- /dev/null +++ b/vars/lolcode.vars @@ -0,0 +1,16 @@ +# +# set -o errexit -o noglob are assumed. +# + +pkg_lolcode_configure() { + rm -f config.cache; + env CFLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" \ + PREFIX="" \ + cmake -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \ + -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ + -DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \ + -DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \ + -DCMAKE_CXX_COMPILER="${PREFIX}/bin/${PKG_TARGET}-g++" \ + -DCMAKE_INSTALL_PREFIX= \ + "../lci"; +} -- cgit v1.2.3