* unutmusuz

This commit is contained in:
Eray Özkural
2005-07-31 15:40:27 +00:00
parent ef56f6948a
commit 9f5cf7a23d
4 changed files with 146 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pisi.actionsapi import autotools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
def setup():
pisitools.dosed("unix/Makefile", "-O3", get.CFLAGS())
pisitools.dosed("unix/Makefile", "CC=gcc LD=gcc", "CC=${CC:-gcc} LD=${CC:-gcc}")
pisitools.dosed("unix/Makefile", "-O ", get.CFLAGS())
pass
def build():
autotools.make("-f unix/Makefile linux")
def install():
pisitools.insinto("/usr/bin/", "unzip")
pisitools.insinto("/usr/bin/", "funzip")
pisitools.insinto("/usr/bin/", "unzipsfx")
pisitools.insinto("/usr/bin/", "unix/zipgrep")
pisitools.dosym("/usr/bin/unzip", "/usr/bin/zipinfo")
pisitools.doman("man/*.1")
pisitools.dodoc("BUGS", "History*", "README", "ToDo", "WHERE")
+49
View File
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE PISI SYSTEM "http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>unzip</Name>
<Homepage>ftp://ftp.info-zip.org/pub/infozip/UnZip.html</Homepage>
<Packager>
<Name>A. Murat Eren</Name>
<Email>meren@uludag.org.tr</Email>
</Packager>
<License>Info-ZIP</License>
<IsA>category</IsA>
<PartOf>component</PartOf>
<Summary xml:lang="en">Unzipper for pkzip-compressed files</Summary>
<Description xml:lang="en">Unzipper for pkzip-compressed files</Description>
<Archive type="targz" sha1sum="51034a8098eddc8facb4db9ea1a935e813dbdb73">ftp://ftp.linux.org.tr/pub/mirrors/gentoo/distfiles/unzip550.tar.gz</Archive>
<Patches>
<Patch level="1">unzip-5.50-dotdot.patch</Patch>
</Patches>
<BuildDependencies>
<Dependency>libc</Dependency>
<Dependency>sed</Dependency>
<Dependency>patch</Dependency>
</BuildDependencies>
<History>
<Update>
<Date>2005-07-15</Date>
<Version>5.50</Version>
<Release>1</Release>
</Update>
</History>
</Source>
<Package>
<Name>unzip</Name>
<RuntimeDependencies>
<!-- <Dependency>libc</Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="binary">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="doc">/usr/share/man</Path>
</Files>
</Package>
</PISI>
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pisi.actionsapi import autotools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
def setup():
pisitools.dosed("unix/Makefile", "-O2", get.CFLAGS())
def build():
autotools.make("-f unix/Makefile CC=%s CPP=%s generic" % (get.CC(), get.CXX()))
def install():
pisitools.dobin("zip")
pisitools.dobin("zipcloak")
pisitools.dobin("zipnote")
pisitools.dobin("zipsplit")
pisitools.doman("man/*.1")
pisitools.dodoc("BUGS", "CHANGES", "MANUAL", "README", "TODO", "WHATSNEW", "WHERE")
+50
View File
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE PISI SYSTEM "http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>zip</Name>
<Homepage>ftp://ftp.freesoftware.com/pub/infozip/Zip.html</Homepage>
<Packager>
<Name>PACKAGER</Name>
<Email>PACKAGER_EMAIL</Email>
</Packager>
<License>Info-ZIP</License>
<IsA>category</IsA>
<PartOf>component</PartOf>
<Summary xml:lang="en">Info ZIP (encryption support)</Summary>
<Description xml:lang="en">Info ZIP (encryption support)</Description>
<Archive type="targz" sha1sum="0600c93218e6acf1be75dd79da4244eabc8e16cf">ftp://ftp.linux.org.tr/pub/mirrors/gentoo/distfiles/zip23.tar.gz</Archive>
<Patches>
<Patch>zip-2.3-unix_configure-pic.patch</Patch>
<Patch level="1">zip-CAN-2004-1010.patch</Patch>
<Patch level="1">zcrypt.patch</Patch>
</Patches>
<BuildDependencies>
<Dependency>unzip</Dependency>
<Dependency>patch</Dependency>
</BuildDependencies>
<History>
<Update>
<Date>2005-07-15</Date>
<Version>2.3</Version>
<Release>1</Release>
</Update>
</History>
</Source>
<Package>
<Name>zip</Name>
<RuntimeDependencies>
<Dependency>unzip</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="binary">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="doc">/usr/share/man</Path>
</Files>
</Package>
</PISI>