mtools in core

This commit is contained in:
Ertuğrul Erata
2016-01-27 20:18:45 +02:00
parent 914809e01d
commit a2987d2357
3 changed files with 91 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/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():
#for i in ["mtools.texi"]:
# pisitools.dosed(i, "/usr/local/etc", "/etc")
shelltools.export("INSTALL_PROGRAM", "install")
autotools.autoreconf("-fi")
autotools.configure("--prefix=/usr \
--sysconfdir=/etc/mtools \
--includedir=/usr/src/linux/include")
def build():
autotools.make()
pisitools.dosed("mtools.conf","SAMPLE FILE","#SAMPLE FILE")
def install():
autotools.rawInstall('-j1 DESTDIR="%s"' % get.installDIR())
pisitools.insinto("/etc/mtools","mtools.conf")
pisitools.dodoc("COPYING", "README*", "Release.notes")
+52
View File
@@ -0,0 +1,52 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>mtools</Name>
<Homepage>http://mtools.linux.lu/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>Utilities to access MS-DOS disks without mounting them</Summary>
<Description>Mtools are utilities to access MS-DOS disks without mounting them.</Description>
<Archive sha1sum="d703db71a409837a37db10a09ef63a35183f7565" type="targz">mirrors://gnu/mtools/mtools-4.0.18.tar.gz</Archive>
</Source>
<Package>
<Name>mtools</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="config">/etc</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-02-12</Date>
<Version>4.0.18</Version>
<Comment>Fix mtools.conf syntax.</Comment>
<Name>Richard de Bruin</Name>
<Email>richdb@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-11-20</Date>
<Version>4.0.18</Version>
<Comment>Version bump</Comment>
<Name>Richard de Bruin</Name>
<Email>richdb@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-22</Date>
<Version>4.0.17</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>mtools</Name>
<Summary xml:lang="tr">MS-DOS (Windows) disketlerinize -mount ile bağlamadan- erişim araçları</Summary>
<Description xml:lang="tr">Mtools diskinizdeki MS-DOS (Windows) bölümlerine -mount komutu ile bağlamadan- erişebilmek için gereken araç setidir.</Description>
</Source>
</PISI>