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

[debian-devel:01808] must specify package



きくたにです。

rubyパッケージ作成の最後で落ちます。

--------------- debstd processing finished --------------
dpkg-gencontrol
dpkg-gencontrol: error: must specify package since control info has many (C
ruby-doc C ruby)
make: *** [binary-arch] Error 29

changelogとcontrolとrulesを添付します。
チェックおねがいします。

-- 
人生を背負い投げ

菊谷 誠(Kikutani Makoto)  kikutani@xxxxxxxxx kikutani@xxxxxxxxxxxxxxx
hgf03701@xxxxxxxxxxxxxxxx    http://www.eis.or.jp/muse/kikutani/
ruby (1.0.970903-1) unstable; urgency=low

  * Initial Release.

 -- Kikutani Makoto <kikutani@xxxxxxxxx>  Thu,  4 Sep 1997 10:31:47 +0900

Local variables:
mode: debian-changelog
add-log-mailing-address: "kikutani@xxxxxxxxx"
End:
Source: ruby
Section: devel
Priority: extra
Maintainer: Kikutani Makoto <kikutani@xxxxxxxxx>
Standards-Version: 2.1.2.2

Package: ruby
Architecture: i386
Depends: ${shlibs:Depends}
Suggests: ruby-doc
Replaces: ruby
Description: perl like object oriented script language.
 Ruby is the interpreted scripting language for quick and
 easy object-oriented programming.  It has many features to
 process text files and to do system management tasks (as in
 perl).  It is simple, straight-forward, and extensible.

Package: ruby-doc
Architecture: all
Depends: ruby
Replaces: ruby-doc
Description: ruby's manual, users-guide, tutorial
#!/usr/bin/make -f
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.

package=ruby

build:
	$(checkdir)
	./configure --prefix=/usr
	make

	touch build

clean:
	$(checkdir)
	-rm -f build
	-make distclean
	-rm -f `find . -name "*~"`
	-rm -rf debian/tmp debian/files* core debian/substvars

binary-indep:	checkroot build
	$(checkdir)
# There are no architecture-independent files to be uploaded
# generated by this package.  If there were any they would be
# made here.

binary-arch:	checkroot build
	$(checkdir)
	-rm -rf debian/tmp
	install -d debian/tmp
	cd debian/tmp && install -d `cat ../dirs`
	make install prefix=`pwd`/debian/tmp/usr
# Must have debmake installed for this to work. Otherwise please copy
# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
	cp -a sample/* debian/tmp/usr/doc/ruby/examples
	cp -a ruby-tutorial/* debian/tmp/usr/doc/ruby/html-jp-tutorial
	cp -a ruby-man-1.0/* debian/tmp/usr/doc/ruby/html-man
	cp -a ruby-man-1.0-jp/* debian/tmp/usr/doc/ruby/html-jp-man
	cp -a  ruby-uguide/* debian/tmp/usr/doc/ruby/html-jp-uguide
	debstd ChangeLog README README.EXT README.jp ToDo
	dpkg-gencontrol
	chown -R root.root debian/tmp
	chmod -R go=rX debian/tmp
	dpkg --build debian/tmp ..

define checkdir
	test -f debian/rules
endef

# Below here is fairly generic really

binary:		binary-indep binary-arch

checkroot:
	$(checkdir)
	test root = "`whoami`"

.PHONY: binary binary-arch binary-indep clean checkroot