add needed package part-1
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#!/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 shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def build():
|
||||
shelltools.cd("squashfs-tools")
|
||||
#Chakra features
|
||||
#reduce memory requirements of unsquashfs to support installation on systems with 256 MB RAM
|
||||
cmd1='sed -i -e "s/BUFFER_DEFAULT [0-9]*/BUFFER_DEFAULT 32/" unsquashfs.h'
|
||||
cmd2="sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|' Makefile"
|
||||
cmd3="sed -i 's|^#LZO_SUPPORT = 1|LZO_SUPPORT = 1|' Makefile"
|
||||
cmd4="sed -i 's|^COMP_DEFAULT = gzip|COMP_DEFAULT = xz|' Makefile"
|
||||
cmds=[cmd1,cmd2,cmd3,cmd4]
|
||||
|
||||
for cmd in cmds:
|
||||
shelltools.system(cmd)
|
||||
autotools.make('RPM_OPT_FLAGS="%s"' % get.CFLAGS())
|
||||
|
||||
def install():
|
||||
shelltools.cd("squashfs-tools")
|
||||
autotools.install("INSTALL_DIR='%s/usr/sbin'" % get.installDIR())
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>squashfs-tools</Name>
|
||||
<Homepage>http://squashfs.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Userspace tools to create squashfs compressed filesystem</Summary>
|
||||
<Description>Squashfs is a highly compressed read-only filesystem for Linux. This package contains the utilities for manipulating squashfs filesystems.</Description>
|
||||
<Archive sha1sum="e0944471ff68e215d3fecd464f30ea6ceb635fd7" type="targz">http://sourceforge.net/projects/squashfs/files/squashfs/squashfs4.2/squashfs4.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>lzo-devel</Dependency>
|
||||
<!--xz-devel is in system.devel-->
|
||||
<Dependency>xz-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>squashfs-tools</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>lzo</Dependency>
|
||||
<!--xz is in system.base-->
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>xz</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>4.2</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-12</Date>
|
||||
<Version>4.2</Version>
|
||||
<Comment>Change compression type to xz, and some other enhancements.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-14</Date>
|
||||
<Version>4.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>squashfs-tools</Name>
|
||||
<Summary xml:lang="tr">squashfs sıkıştırılmış salt-okunur dosya sistemi oluşturma aracı</Summary>
|
||||
<Description xml:lang="tr">squashfs, Linux için sıkıştırılmış ve salt-okunur bir dosya sistemidir. Bu paket squashfs dosya sistemiyle çalışmak için kullanılabilecek araçları içerir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user