[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Packaging php app/scripts



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/09/11 09:03, Guido van Steen wrote:
> I forgot to cc the list:
> 
> ---------- Forwarded message ----------
> From: Guido van Steen <vansteen@users.sourceforge.net>
> Date: Tue, Sep 6, 2011 at 10:00 AM
> Subject: Re: Packaging php app/scripts
> To: kuLa <debian@kulisz.net>
> 
> Hi KuLa,
> 
>> I forgot one IMHO important info there is no makefile for this project
>> as php is not compilable.
> 
> How are you supposed to build/install the package? Can't you adjust
> the package to have a - possibly empty - "Makefile.am"s?

Ok, I created simple Makefile (content below):
prefix := /tmp
DESTDIR:= $(prefix)/var/www
SRCDIR := ./src

install:
	install -d $(DESTDIR)
	cp -R $(SRCDIR)/* $(DESTDIR)/

uninstall:
	rm -rf $(DESTDIR)/*

>> But package_1.0.0.orig.tar.gz created during build process is containing
>> all files I need.
> 
> Package_1.0.0.orig.tar.gz should be a exact copy of the upstream
> tar-ball. Therefore it has to contain all the files needed.

and funny part is it does :-)

>> cp: cannot stat `debian/tmp/src/index.php': No such file or directory
>> My whole php app code is in src directory, so all files from this dir
>> should be copied into package and they aren't.
> 
> It would be handy if you provided the contents of your package as well.

np below you've got what I have after unpacking deb:
debian-binary
control.tar.gz
data.tar.gz

when untarring data.tar.gz i have this:
usr/share/doc/glocon/{copyright,README.Debian,changelog.Debian.gz}
and nothing more

> Best wishes,

and you too
- -- 

|_|0|_|                                          |
|_|_|0|         "Heghlu'Meh QaQ jajVam"          |
|0|0|0|         -------- kuLa ---------          |

gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOZhRDAAoJEOqHloDBALTK2nsH/1XAgyRpJId7Qok267xy4nMc
gUYcBRwe4qjplUY9i9GXQzWOm14xNhdKAnpK8HoVsDvAe5sPGHtC+WkDGkgGEbdP
FWJG5hiM3RdcJktCroXBc1WSbbK+2BK+vvO722mQkW82KWmeWhJTFbZNP6xs/3E/
jMYBdSsL3xxIkV7xbCnBixnfT65HDm7g4VkG/W+KUR5Mz1dln+58ay/qYxwHWGmn
0NjlEgzLQD3KpuMCloUGJU52sbWH5FWZZyMhVlMQPzgGCyhz/J5yXcZjoHp/X35t
X0o71MeB9ZEXwR375EkKSfLwWY9QrkmjRLP4bY1x60BULzGnZ5Rk9jyRj7tBWSI=
=JS2D
-----END PGP SIGNATURE-----


Reply to: