HAYASHI Kentaro
null+****@clear*****
Wed May 28 10:12:51 JST 2014
HAYASHI Kentaro 2014-05-28 10:12:51 +0900 (Wed, 28 May 2014) New Revision: c5e3c30e183c63af3c7f08d273de483cf0b0ad86 https://github.com/mroonga/mroonga/commit/c5e3c30e183c63af3c7f08d273de483cf0b0ad86 Message: packages debian: add rules for Launchpad PPA Added files: packages/debian/rules.ppa Added: packages/debian/rules.ppa (+30 -0) 100755 =================================================================== --- /dev/null +++ packages/debian/rules.ppa 2014-05-28 10:12:51 +0900 (0ccf1ed) @@ -0,0 +1,30 @@ +#!/usr/bin/make -f +# -*- makefile-gmake -*- +# +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +# This has to be exported to make some magic below work. +export DH_OPTIONS + +export MYSQL_VERSION := $(shell apt-cache show mysql-server-5.5 | grep Version | head -n 1 | awk '{print $$2}' | awk -F '-' '{print $$1}') + +%: + dh $@ + +override_dh_auto_configure: + wget http://archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-5.5_$(MYSQL_VERSION).orig.tar.gz + tar xf mysql-5.5_$(MYSQL_VERSION).orig.tar.gz + dh_auto_configure -- --with-mysql-source=./mysql-$(MYSQL_VERSION) + +# disable 'make check'. +override_dh_auto_test: + +override_dh_install: + mv debian/tmp/usr/share/doc/mroonga/ \ + debian/tmp/usr/share/doc/mysql-server-mroonga-doc/ + dh_install +# if test -x /usr/bin/dh_apparmor; then \ +# dh_apparmor \ +# -pmysql-server-mroonga \ +# --profile-name=usr.lib.mysql.plugin.ha_mroonga; \ +# fi -------------- next part -------------- HTML����������������������������...Descargar