diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-lang/lisaac |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lang/lisaac')
-rw-r--r-- | dev-lang/lisaac/Manifest | 7 | ||||
-rw-r--r-- | dev-lang/lisaac/files/50lisaac-gentoo.el | 4 | ||||
-rw-r--r-- | dev-lang/lisaac/files/lisaac-0.13.1-makefile.patch | 33 | ||||
-rw-r--r-- | dev-lang/lisaac/lisaac-0.13.1-r2.ebuild | 73 | ||||
-rw-r--r-- | dev-lang/lisaac/metadata.xml | 5 |
5 files changed, 122 insertions, 0 deletions
diff --git a/dev-lang/lisaac/Manifest b/dev-lang/lisaac/Manifest new file mode 100644 index 000000000000..f92cdda89803 --- /dev/null +++ b/dev-lang/lisaac/Manifest @@ -0,0 +1,7 @@ +AUX 50lisaac-gentoo.el 205 SHA256 3187c2b42127a6b0effa280e8847942eb33ea07e8ecdffe5a2c0d6e1090505eb SHA512 8ecf7496211067e2a2ffd5458036e7b3964e6528064855905d830e98553d9c190a08fcd0df941625eb8dcfe1f762042186420f00feebcf054d9a499c5cf2d080 WHIRLPOOL 486b3b2b1101722d43b03e8df1bb53afc73d213813bbd4c263dffa473cc422788b8b1bc70824c82c0fcc4658e8cd80f747f9603a7c9ceb32398419bbcf5aefa8 +AUX lisaac-0.13.1-makefile.patch 1003 SHA256 f50e141f8f8884ba3187b74d216115c09acf71d058967b256e7c9f10f96c7883 SHA512 4b363a4791468b98e864b641c08886d8070b9c959fdd5fda68ea0c0fa8c8caf0fe80ef7afe99598579c8a7b18222c3846334b6fa6d9c2b3e6fec9fcda6170d6e WHIRLPOOL 1ba3b486cebfb281834e3648878fb98b7aa5264f5fbf8c1f225d236f8daa60944ebdb3c2e69a34edabe11b8f58a16c7d06a4f7767f6bf328d2d8bf3e900bc8d6 +DIST lisaac-0.13.1.tar.gz 2141871 SHA256 dc3ffe65e3be3f4ee4b77d3f362c22556afa842575f1b4dcf0951cf36f82f993 SHA512 079137d17fae09d57430d6576e9b2c149ca31ba47c0899513bfc447488ba2b0e3432fff8db4f6b141301798e23472738791cd99900c73a463d92397179a44aa9 WHIRLPOOL 6c878d53c341702439544a9267c19b93007b5cb83979ee448d95a38c090eef6fd4d0764dfd0beda9ec05e150ea68394b859b902991d76cb276d7f70a21a4464a +EBUILD lisaac-0.13.1-r2.ebuild 1639 SHA256 51e3711f87b5048297aa0ddd3eaf3db8dbb24d5dd2654befe360ea534d0a256e SHA512 654ea816e74a0f355b42b90b4114fbe7b477568960e522419804c7fe6a5bcf57e4294cea2ec86af382b651c3e01bcf237be823dc1d3fcd9fb913f77e0f611f07 WHIRLPOOL 387827bfa29a8e54f35967036bd9c2dae1b4d70d7c469ba1147c8d15aef9b04615bf160033286aed2b1e7b77edbbf13b523fc6316b50e7b82374fc96afc0516f +MISC ChangeLog 2593 SHA256 701c6944eb33f22d96ba50623d750e7703f6279124e86a9be541cb5d0325cdff SHA512 a35b08e1f75f1e97dde65e2ac7333ebcd5f49f47c42fabb9861ffcf5d466ee8d15473d9a9dee6ee4402c9d573f4c304516cf1fa40f36aa92ab0e86c253647424 WHIRLPOOL 7070e6189a1c78227e52995be9e1e19a958269058156292c6dd53dd707d2963652f10d3b80fdb18f1f2d605db10bc9bc71b07df3ba3c27d202feb84b5dd52305 +MISC ChangeLog-2015 1555 SHA256 80b17d908d7513f373cb937d24e2194d31122f627e4e02a92ea9e190d7434dc5 SHA512 b30ffe332192d91faa02adb298626e9078ef8242640a1a11634f7b64387e09ead4d273d8b2b3f83ddece6bdd92f7a8a3be771d57468c9d896137a6b8df704adc WHIRLPOOL d02d54b06ab0643b8be1a809e78fcc80164ac5a3f99e741aba890d855919725478403783ab9981ac14f72f4b42fbb037eccf5ace71185699cdead368e7dc1136 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-lang/lisaac/files/50lisaac-gentoo.el b/dev-lang/lisaac/files/50lisaac-gentoo.el new file mode 100644 index 000000000000..5d9af1ae4206 --- /dev/null +++ b/dev-lang/lisaac/files/50lisaac-gentoo.el @@ -0,0 +1,4 @@ +;;; lisaac site-lisp configuration +(add-to-list 'load-path "@SITELISP@") +(add-to-list 'auto-mode-alist '("\\.li\\'" . lisaac-mode)) +(autoload 'lisaac-mode "lisaac-mode" "Major mode for Lisaac Programs" t) diff --git a/dev-lang/lisaac/files/lisaac-0.13.1-makefile.patch b/dev-lang/lisaac/files/lisaac-0.13.1-makefile.patch new file mode 100644 index 000000000000..bd690f467dd4 --- /dev/null +++ b/dev-lang/lisaac/files/lisaac-0.13.1-makefile.patch @@ -0,0 +1,33 @@ + Makefile | 11 +++++------ + 1 files changed, 5 insertions(+), 6 deletions(-) + +diff --git a/Makefile b/Makefile +index 76e6403..9875e36 100644 +--- a/Makefile ++++ b/Makefile +@@ -59,20 +59,19 @@ EXAMPLE=/examples + HTML=/html + BIN=/usr/bin + MAN=/usr/share/man/man1 +-DOC=/usr/share/doc/lisaac ++DOC=${DOC:=/usr/share/doc/lisaac} + DESTDIR= +-CC=gcc +-CFLAGS=-O2 ++CC ?=gcc + + all: bin/lisaac.c bin/shorter.c + @echo "#define LISAAC_DIRECTORY \"$(DESTDIR)$(LIB)\"" > bin/path.h +- $(CC) $(CFLAGS) bin/lisaac.c -o bin/lisaac +- $(CC) $(CFLAGS) bin/shorter.c -o bin/shorter ++ $(CC) $(CFLAGS) $(LDFLAGS) bin/lisaac.c -o bin/lisaac ++ $(CC) $(CFLAGS) $(LDFLAGS) bin/shorter.c -o bin/shorter + + interactive_userland: install_lisaac.c + @echo - Lisaac compiler installation For Unix / Linux / Windows - + @echo Please wait... +- $(CC) $(CFLAGS) install_lisaac.c -o install_lisaac ++ $(CC) $(CFLAGS) $(LDFLAGS) install_lisaac.c -o install_lisaac + @echo - please run ./install_lisaac to finish the installation + + install: diff --git a/dev-lang/lisaac/lisaac-0.13.1-r2.ebuild b/dev-lang/lisaac/lisaac-0.13.1-r2.ebuild new file mode 100644 index 000000000000..23b6ba0b556e --- /dev/null +++ b/dev-lang/lisaac/lisaac-0.13.1-r2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" +inherit versionator elisp-common eutils + +DESCRIPTION="Lisaac is an object prototype based language" +HOMEPAGE="http://isaacproject.u-strasbg.fr/li.html" +SRC_URI="http://isaacproject.u-strasbg.fr/download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="vim-syntax emacs examples" + +DEPEND="vim-syntax? ( app-editors/vim ) + emacs? ( virtual/emacs )" + +RDEPEND="${DEPEND}" + +SITEFILE=50${PN}-gentoo.el + +src_prepare(){ + epatch "${FILESDIR}/${P}-makefile.patch" + rm lib/number/essai +} + +src_compile(){ + emake CC="$(tc-getCC)" + + if use emacs; then + elisp-compile editor/emacs/lisaac-mode.el \ + || die "compiling emacs component failed." + fi +} + +src_install(){ + emake DESTDIR="${D}" DOC="/usr/share/doc/${PF}" install + + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/syntax/ + doins editor/vim/syntax/lisaac.vim + insinto /usr/share/vim/vimfiles/indent/ + doins editor/vim/indent/lisaac.vim + fi + + if use emacs; then + elisp-install ${PN} editor/emacs/*.{el,elc} \ + || die "installing emacs coponent failed." + elisp-site-file-install "${FILESDIR}"/${SITEFILE} \ + || die "installing emacs site file failed" + fi + + if use examples; then + dodir /usr/share/${PN}/ + cp -r example "${ED}"/usr/share/${PN}/examples + fi +} + +pkg_postinst(){ + if use vim-syntax; then + elog "Add the following line to your vimrc if you want" + elog "to enable the lisaac support :" + elog + elog "au BufNewFile,BufRead *.li setf lisaac" + fi + + use emacs && elisp-site-regen +} + +pkg_postrm(){ + use emacs && elisp-site-regen +} diff --git a/dev-lang/lisaac/metadata.xml b/dev-lang/lisaac/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-lang/lisaac/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |