summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/control4
-rwxr-xr-xdebian/rules10
2 files changed, 5 insertions, 9 deletions
diff --git a/debian/control b/debian/control
index 8d98198..65d1ac3 100644
--- a/debian/control
+++ b/debian/control
@@ -2,12 +2,12 @@ Source: feed2imap
Section: net
Priority: optional
Maintainer: Lucas Nussbaum <lucas@lucas-nussbaum.net>
-Build-Depends: debhelper (>= 4.2.32)
+Build-Depends: debhelper (>= 4.2.28), ruby
Standards-Version: 3.6.2.1
Package: feed2imap
Architecture: all
-Depends: ruby1.8, librmail-ruby1.8
+Depends: ruby, ruby1.8, librmail-ruby1.8
Recommends: libopenssl-ruby1.8
Suggests: imap-client, imap-server
Description: feed aggregator (RSS/Atom) which puts items on a IMAP mail server
diff --git a/debian/rules b/debian/rules
index b05818d..945cdad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,15 +19,11 @@ binary-indep: build install
dh_installdirs
dh_installchangelogs ChangeLog
dh_installdocs README
- dh_installexamples feed2imaprc-example
- cp -r lib/* debian/tmp/usr/lib/ruby/1.8/
- rm -rf `find debian/tmp -name .svn -type d`
- chmod --recursive 0644 debian/tmp/*
- chmod 755 `find debian/tmp -type d`
- install -m 755 bin/feed2imap debian/tmp/usr/bin
+ ruby setup.rb config --prefix=debian/tmp/usr --siteruby=debian/tmp/usr/lib/site_ruby
+ ruby setup.rb install
+ chmod --recursive a+rX debian/tmp/*
dh_compress
dh_installdeb
- dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb