close issues #120 unrar add repo
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/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 pisitools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "%s" % get.srcNAME()
|
||||
|
||||
def build():
|
||||
#changed for version 4.2.4
|
||||
autotools.make()
|
||||
#autotools.make for older version
|
||||
# autotools.make('-f makefile.unix \
|
||||
# CXXFLAGS="%s" \
|
||||
# CXX="%s" \
|
||||
# STRIP="true"' % (get.CXXFLAGS(), get.CXX()))
|
||||
|
||||
def install():
|
||||
pisitools.dobin("unrar")
|
||||
|
||||
pisitools.dodoc("readme.txt","license.txt")
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/makefile 2013-04-29 16:27:05.000000000 +0200
|
||||
+++ b/makefile 2013-10-01 22:07:29.611485989 +0200
|
||||
@@ -133,7 +133,7 @@
|
||||
lib: CXXFLAGS+=$(LIBFLAGS)
|
||||
lib: clean $(OBJECTS) $(LIB_OBJ)
|
||||
@rm -f libunrar.so
|
||||
- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
|
||||
+ $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
|
||||
|
||||
install-unrar:
|
||||
install -D unrar $(DESTDIR)/bin/unrar
|
||||
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>unrar</Name>
|
||||
<Homepage>http://www.rarsoft.com/rar_add.htm</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>unRAR</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>RAR decompressor</Summary>
|
||||
<Description>unrar is a program to decompress RAR archives.</Description>
|
||||
<Archive sha1sum="67a744b08c2ecf1d893bf0b0a7a51d486affb9a2" type="targz">http://www.rarlab.com/rar/unrarsrc-5.3.4.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">unrar-5.3.4-soname.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>unrar</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2015-01-25</Date>
|
||||
<Version>5.3.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>yusuf Aydemir</Name>
|
||||
<Email>yuısuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2015-01-25</Date>
|
||||
<Version>5.2.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-11-19</Date>
|
||||
<Version>5.0.13</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-11-18</Date>
|
||||
<Version>5.0.13</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-31</Date>
|
||||
<Version>4.2.4</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>unrar</Name>
|
||||
<Summary xml:lang="tr">RAR açma uygulaması</Summary>
|
||||
<Description xml:lang="tr">Unrar, RAR biçimli sıkıştırılmış dosyaları açar.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user