create core package
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
pisitools.flags.add("-fPIC")
|
||||
shelltools.export("AUTOPOINT", "true")
|
||||
|
||||
autotools.autoreconf("-vfi")
|
||||
# do not enable nls http://bugs.gentoo.org/121408
|
||||
autotools.configure("--disable-nls \
|
||||
--disable-dependency-tracking")
|
||||
|
||||
def build():
|
||||
autotools.make("-j1")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dosym("flex", "/usr/bin/lex")
|
||||
|
||||
pisitools.dodoc("NEWS", "README")
|
||||
@@ -0,0 +1,15 @@
|
||||
We don't need texlive in the core bootstrap cycle
|
||||
|
||||
Index: flex-2.5.37/doc/Makefile.am
|
||||
===================================================================
|
||||
--- flex-2.5.37.orig/doc/Makefile.am
|
||||
+++ flex-2.5.37/doc/Makefile.am
|
||||
@@ -2,7 +2,7 @@ help2man = @HELP2MAN@
|
||||
|
||||
info_TEXINFOS = flex.texi
|
||||
dist_man_MANS = flex.1
|
||||
-dist_doc_DATA= flex.pdf
|
||||
+#dist_doc_DATA= flex.pdf
|
||||
|
||||
CLEANFILES = \
|
||||
flex.hks \
|
||||
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>flex</Name>
|
||||
<Homepage>http://flex.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>FLEX</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>GNU lexical analyser generator</Summary>
|
||||
<Description>Flex is a tool for generating scanners. A scanner, sometimes called a tokenizer, is a program which recognizes lexical patterns in text</Description>
|
||||
<Archive sha1sum="40866373afd3ab88a7f7fe26c9b27b035aa1f2a9" type="targz">mirrors://sourceforge/flex/flex-2.5.39.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>patch</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">flex-2.5.37-notex.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>flex</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2014-06-02</Date>
|
||||
<Version>2.5.39</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>2.5.38</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-03-29</Date>
|
||||
<Version>2.5.38</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-08-28</Date>
|
||||
<Version>2.5.37</Version>
|
||||
<Comment>Clean flex.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-18</Date>
|
||||
<Version>2.5.37</Version>
|
||||
<Comment>v.bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-07-14</Date>
|
||||
<Version>2.5.35</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>flex</Name>
|
||||
<Summary xml:lang="tr">GNU sözcüksel analiz üreteci</Summary>
|
||||
<Description xml:lang="tr">Flex, metin içindeki sözcüksel kalıpları tanıyan, analiz aracı üretecidir.</Description>
|
||||
<Description xml:lang="fr">Flex est un outil de génération d'analyseur (scanner). Un analyseur (également appelé tokenizer en anglais) est un programme qui repère les motifs lexicaux (ou lexème) dans du texte. </Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user