suspend verbump

This commit is contained in:
Ertuğrul Erata
2016-04-02 16:24:10 +03:00
parent c2ad87872b
commit 3547fe87fa
3 changed files with 10 additions and 23 deletions
+3 -2
View File
@@ -12,9 +12,9 @@ from pisi.actionsapi import get
def setup():
#autotools.autoreconf("-vif")
shelltools.system("sh autogen.sh")
autotools.configure("--enable-threads \
--enable-compress \
--enable-plymouth \
--disable-encrypt \
--disable-resume-static \
--with-initramfsdir=/usr/sbin")
@@ -23,8 +23,9 @@ def build():
autotools.make()
def install():
pisitools.dodir("/etc")
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.removeDir("/dev")
#pisitools.removeDir("/dev")
shelltools.touch("%s/etc/suspend.key" % get.installDIR())
+7 -21
View File
@@ -13,29 +13,15 @@
<IsA>app:console</IsA>
<Summary>A set of tools to support sleep modes</Summary>
<Description>suspend package allows users to suspend-to-ram, suspend-to-disk, and suspend-to-both.</Description>
<Archive sha1sum="49ac219b54780265c31e8263d00e2b7b525d0736" type="tarbz2">http://sourceforge.net/projects/suspend/files/suspend/suspend-1.0/suspend-utils-1.0.tar.bz2</Archive>
<Archive sha1sum="77d9ae2af73f5faffcec351910fcd9b015a9501c" type="tarxz">http://dev.gentoo.org/~bircoph/distfiles/suspend-1.0_p20120915.tar.xz</Archive>
<BuildDependencies>
<Dependency>lzo-devel</Dependency>
<Dependency>pciutils-devel</Dependency>
<Dependency>pciutils-devel</Dependency>
<Dependency>libx86-devel</Dependency>
<Dependency>plymouth-devel</Dependency>
<Dependency>libgcrypt-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">suse/suspend-comment-configfile-options.diff</Patch>
<Patch level="0">suse/suspend-default-compress.diff</Patch>
<Patch level="0">suse/suspend-default-splash.diff</Patch>
<Patch level="1">suse/suspend-0.80-dont-return-eintr-on-abort.diff</Patch>
<!--Patch level="1">suse/suspend-0.80-fix-s2both-resume-hacks.diff</Patch-->
<Patch level="1">suse/suspend-0.80-keygen-new-defaults.diff</Patch>
<Patch level="0">suse/suspend-0.80-vbetool-retry-on-errors.diff</Patch>
<Patch level="1">mandriva/suspend-0.8-printf_format.patch</Patch>
<!--<Patch level="1">mandriva/suspend-plymouth.patch</Patch>-->
<!--<Patch level="1">mandriva/suspend-plymouth-always-quit.patch</Patch>-->
<Patch level="1">resume-dont-ask-questions.patch</Patch>
<Patch level="1">suppress-outputs.patch</Patch>
<!--<Patch level="1">improve-plymouth-support.patch</Patch>-->
<Patch level="1" compressionType="xz">suspend-1.0_p20150810.patch.xz</Patch>
</Patches>
</Source>
@@ -44,7 +30,6 @@
<RuntimeDependencies>
<Dependency>lzo</Dependency>
<Dependency>libx86</Dependency>
<Dependency>plymouth-core-libs</Dependency>
<Dependency>pciutils</Dependency>
</RuntimeDependencies>
<Files>
@@ -52,6 +37,7 @@
<Path fileType="config">/etc/suspend.key</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="doc">/usr/share/man</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0755" target="/usr/sbin/configure-suspend-encryption">suse/configure-suspend-encryption.sh</AdditionalFile>
@@ -60,8 +46,8 @@
<History>
<Update release="1">
<Date>2014-03-09</Date>
<Version>1.0</Version>
<Date>2016-04-02</Date>
<Version>1.0_p20120915</Version>
<Comment>First release</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>