libnut:moved into main for pisi 2.0
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/copyleft/gpl.txt.
|
||||
#
|
||||
# nut is done with checkouts from
|
||||
# svn://svn.mplayerhq.hu/nut/src/trunk
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def build():
|
||||
shelltools.export("CFLAGS", "%s -fPIC" % get.CFLAGS())
|
||||
autotools.make("-j1 CC=%s" % get.CC())
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("PREFIX=%s/usr" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("COPYING", "README*")
|
||||
@@ -0,0 +1,21 @@
|
||||
diff -Nur nut-old/Makefile nut/Makefile
|
||||
--- nut-old/Makefile 2008-07-30 12:17:38.000000000 +0300
|
||||
+++ nut/Makefile 2008-07-30 12:17:55.000000000 +0300
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
$(NUTUTILS_PROGS): CFLAGS += -Ilibnut
|
||||
|
||||
-install: install-libnut install-nututils
|
||||
+install: install-libnut-shared install-nututils
|
||||
|
||||
install-libnut: libnut install-libnut-headers
|
||||
install -d $(prefix)/lib
|
||||
@@ -43,7 +43,7 @@
|
||||
install -d $(prefix)/bin
|
||||
install -m 755 $(NUTUTILS_PROGS) $(prefix)/bin
|
||||
|
||||
-uninstall: uninstall-libnut uninstall-nututils
|
||||
+uninstall: uninstall-libnut-shared uninstall-nututils
|
||||
|
||||
uninstall-libnut:
|
||||
rm -f $(prefix)/lib/libnut.a
|
||||
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libnut</Name>
|
||||
<Homepage>http://www.nut-container.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>NUT container tools and library</Summary>
|
||||
<Description>Library and tools to work with NUT multimedia files.</Description>
|
||||
<Archive sha1sum="64aa3218c6e51465345c40a19341fd47c966e7c7" type="tarbz2">http://source.pisilinux.org/1.0/libnut-661.tar.bz2</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">shared.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libnut</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libnut-devel</Name>
|
||||
<Summary>Development files for libnut</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libnut</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-22</Date>
|
||||
<Version>0.0_661</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-02-01</Date>
|
||||
<Version>0.0_661</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>0.0_661</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libnut</Name>
|
||||
<Summary xml:lang="tr">NUT dosya biçemi kitaplığı ve araçları</Summary>
|
||||
<Description xml:lang="tr">libnut NUT çokluortam sistemini kullanmak ve düzenlemek için gerekli olan kitaplıkları ve araçları içerir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libnut-devel</Name>
|
||||
<Summary xml:lang="tr">libnut için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user