libsmbios ported from 1.2 build and check
This commit is contained in:
@@ -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 get
|
||||
|
||||
def setup():
|
||||
#autotools.autoreconf("-fi")
|
||||
autotools.configure("--disable-doxygen \
|
||||
--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
pisitools.insinto("/usr/include", "src/include/smbios")
|
||||
|
||||
# Symlink to /usr/sbin/DellWirelessCtl for the new HAL
|
||||
pisitools.dosym("/usr/sbin/smbios-wireless-ctl", "/usr/sbin/DellWirelessCtl")
|
||||
|
||||
# Remove yum specific stuff
|
||||
pisitools.removeDir("/etc/yum")
|
||||
pisitools.removeDir("/usr/bin")
|
||||
pisitools.removeDir("/usr/lib/yum-plugins")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO")
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libsmbios</Name>
|
||||
<Homepage>http://linux.dell.com/libsmbios/main/index.html</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>OSL-2.0</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Provide access to (SM)BIOS information</Summary>
|
||||
<Description>libsmbios project aims towards providing access to as much BIOS information as possible. It does this by providing a library of functions that can be used as well as sample binaries.</Description>
|
||||
<Archive sha1sum="54c267411d2225cd54a3c8a696ca5c2a74e9d66e" type="tarbz2">http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-2.2.28/libsmbios-2.2.28.tar.bz2</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libsmbios</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="library">/usr/share</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libsmbios-devel</Name>
|
||||
<Summary>Development files for libsmbios</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libsmbios</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/smbios</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2014-02-01</Date>
|
||||
<Version>2.2.28</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-16</Date>
|
||||
<Version>2.2.28</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libsmbios</Name>
|
||||
<Summary xml:lang="tr">(SM)BIOS bilgilerine ulaşabilmeyi sağlar</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libsmbios-devel</Name>
|
||||
<Summary xml:lang="tr">libsmbios için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user