Hızlıca bir paket daha yaptım ve arada böcük ezdim :P

This commit is contained in:
S.Çağlar Onur
2005-06-24 10:35:25 +00:00
parent 05d6f9a7d4
commit 9b86a6e86f
4 changed files with 72 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
import os
from pisi.context import const
def configure(parameters = None):
def configure(parameters = ''):
''' FIXME: Düzgün hale getirilecek '''
''' {EXTRA} = '--with-nls --with-libusb --with-something-usefull '''
+2 -3
View File
@@ -83,9 +83,8 @@ class PisiBuild:
def goToWorkDir(self, globals):
"""Changes the current working directory to package_work_dir() for
actions.py to do its work."""
path = globals['WorkDir']
if path:
path = self.ctx.pkg_work_dir() + "/" + path
if 'WorkDir' in globals:
path = self.ctx.pkg_work_dir() + "/" + globals['WorkDir']
else:
path = self.ctx.pkg_work_dir() + "/" + \
self.spec.source.name + "-" + self.spec.source.version
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pisi.actionsapi import autotools
def setup():
autotools.configure()
def build():
autotools.make()
def install():
autotools.install()
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE PSPEC SYSTEM
"http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>startup-notification</Name>
<Homepage>http://www.freedesktop.org/software/startup-notification/</Homepage>
<Packager>
<Name>Kirmizi kafalar</Name>
<Email>hotmail@redhat.com</Email>
</Packager>
<License>LGPL-2, BSD</License>
<IsA>library:x11</IsA>
<PartOf>rpm:archive</PartOf>
<Description>Application startup notification and feedback library</Description>
<Archive archType="tarbz2" sha1sum="d2b5698b6209b5172d17222a3117db6447d7cdf1">
ftp://ftp.linux.org.tr/pub/mirrors/gentoo/distfiles/startup-notification-0.8.tar.bz2
</Archive>
<BuildDependencies>
<Dependency versionFrom="1.8"> make </Dependency>
</BuildDependencies>
<History>
<Update>
<Date>06/24/2005</Date>
<Version>0.8</Version>
<Release>2</Release>
</Update>
<Update>
<Date>06/10/2005</Date>
<Version>0.7</Version>
<Release>2</Release>
</Update>
</History>
</Source>
<Package>
<Name>startup-notification</Name>
<Summary xml:lang="en">Application startup notification and feedback library</Summary>
<Description>library files for startup-notification</Description>
<Files>
<Path fileType="sharedLib">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="header">/usr/include</Path>
</Files>
<History>
<Update>
<Date>06/24/2005</Date>
<Version>0.8</Version>
<Release>2</Release>
</Update>
</History>
</Package>
</PISI>