create core package
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#!/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.configure("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def check():
|
||||
autotools.make("check")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
pisitools.dodoc("AUTHORS", "NEWS", "README")
|
||||
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libusb</Name>
|
||||
<Homepage>http://libusb.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Userspace access to USB devices</Summary>
|
||||
<Description>Project's main aim is to create a library for use by user level applications to access USB devices regardless of OS.</Description>
|
||||
<Archive sha1sum="c5d14ced155233ceeb5107c7eb3b94b16649ae05" type="tarbz2">http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.19/libusb-1.0.19.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libudev-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libusb</Name>
|
||||
<Replaces>
|
||||
<Package>libusbx</Package>
|
||||
</Replaces>
|
||||
<Conflicts>
|
||||
<Package>libusbx</Package>
|
||||
</Conflicts>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libudev</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libusb-devel</Name>
|
||||
<Replaces>
|
||||
<Package>libusbx-devel</Package>
|
||||
</Replaces>
|
||||
<Conflicts>
|
||||
<Package>libusbx-devel</Package>
|
||||
</Conflicts>
|
||||
<PartOf>system.devel</PartOf>
|
||||
<Summary>Development files for libusb</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libusb</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libusb-32bit</Name>
|
||||
<Replaces>
|
||||
<Package>libusbx-32bit</Package>
|
||||
</Replaces>
|
||||
<Conflicts>
|
||||
<Package>libusbx-32bit</Package>
|
||||
</Conflicts>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libusb</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>libudev-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libusb</Dependency>
|
||||
<Dependency>libudev-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2014-09-08</Date>
|
||||
<Version>1.0.19</Version>
|
||||
<Comment>
|
||||
rename libusbx to libusb like upsteam
|
||||
version bump to 19
|
||||
</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-05-16</Date>
|
||||
<Version>1.0.18</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-10-29</Date>
|
||||
<Version>1.0.17</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-07-27</Date>
|
||||
<Version>1.0.16</Version>
|
||||
<Comment>Move pc files to devel pack, rebuild</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-07-27</Date>
|
||||
<Version>1.0.16</Version>
|
||||
<Comment>Move .pc files to devel package</Comment>
|
||||
<Name>Fatih Turgel</Name>
|
||||
<Email>hitaf@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-23</Date>
|
||||
<Version>1.0.16</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-12</Date>
|
||||
<Version>1.0.14</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdem Artan</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libusbx</Name>
|
||||
<Summary xml:lang="tr">USB aygıtlarınıza erişiminizi sağlayan kütüphane.</Summary>
|
||||
<Description xml:lang="tr">Projenin ana hedefi işletim sisteminden bağımsız olarak kullanıcı düzeyinde çalışan uygulamaların USB cihazlara ulaşabilmesi için gerekli kütüphaneleri oluşturmaktır.</Description>
|
||||
<Description xml:lang="fr">Ce projet a pour objectif de créer une librairie d'accès aux périphérique USB indépendamment du SE (Système d'exploiation - OS) pour les applications utilisateurs.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libusbx-devel</Name>
|
||||
<Summary xml:lang="tr">libusbx için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user