From db656e51be531b9f8a4a91cda842c49c8a0bf749 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 27 Jan 2011 12:09:35 +0100 Subject: [PATCH] Renamed package from libkohana-php to libkohana2-php. Also, the package will be installed to /u/s/php/kohana2/ now. --- debian/changelog | 2 +- debian/control | 4 ++-- debian/dirs | 2 +- debian/libkohana-php.lintian-overrides | 2 +- debian/rules | 8 ++++---- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index f2edd40..277c162 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -libkohana-php (2.3.4-1) unstable; urgency=low +libkohana2-php (2.3.4-1) unstable; urgency=low * Initial release (Closes: #nnnnnn) + Strip out DejaVu-Font and depend on ttf-dejavu-core diff --git a/debian/control b/debian/control index 0a86896..3593f59 100644 --- a/debian/control +++ b/debian/control @@ -1,4 +1,4 @@ -Source: libkohana-php +Source: libkohana2-php Section: php Priority: extra Maintainer: Sven Velt @@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 7) Standards-Version: 3.9.1 Homepage: http://kohanaframework.org/ -Package: libkohana-php +Package: libkohana2-php Architecture: all Depends: php5 | php5-cli, ttf-dejavu-core, ${misc:Depends} Description: lightweight PHP5 MVC framework diff --git a/debian/dirs b/debian/dirs index 7d024b3..dee1ba6 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1 +1 @@ -usr/share/php/kohana +usr/share/php/kohana2 diff --git a/debian/libkohana-php.lintian-overrides b/debian/libkohana-php.lintian-overrides index 5bd9d11..284d51a 100644 --- a/debian/libkohana-php.lintian-overrides +++ b/debian/libkohana-php.lintian-overrides @@ -1,3 +1,3 @@ # The package includes an extended version of the library which is not # available in Debian. -libkohana-php binary: embedded-php-library usr/share/php/kohana/system/vendor/Markdown.php +libkohana-php binary: embedded-php-library usr/share/php/kohana2/system/vendor/Markdown.php diff --git a/debian/rules b/debian/rules index 9a800ff..4ed0537 100755 --- a/debian/rules +++ b/debian/rules @@ -38,11 +38,11 @@ install: build dh_prep dh_installdirs - # Add here commands to install the package into debian/libkohana-php. - cp -a system $(CURDIR)/debian/libkohana-php/usr/share/php/kohana/ + # Add here commands to install the package into debian/libkohana2-php. + cp -a system $(CURDIR)/debian/libkohana2-php/usr/share/php/kohana2/ # Remove DejaVu-Fonts and create symlink - rm -rf $(CURDIR)/debian/libkohana-php/usr/share/php/kohana/system/fonts - ln -s /usr/share/fonts/truetype/ttf-dejavu $(CURDIR)/debian/libkohana-php/usr/share/php/kohana/system/fonts + rm -rf $(CURDIR)/debian/libkohana2-php/usr/share/php/kohana2/system/fonts + ln -s /usr/share/fonts/truetype/ttf-dejavu $(CURDIR)/debian/libkohana2-php/usr/share/php/kohana2/system/fonts # Build architecture-independent files here. -- 2.30.2