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

RE: Package a single binary.



Title: RE: Package a single binary.

Thank you VERY much.. this is exactly what I was looking for.

* Blake

-----Original Message-----
From: Joey Hess
To: Blake Barnett
Cc: csj; debian-user@lists.debian.org
Sent: 2/11/02 6:23 PM
Subject: Re: Package a single binary.

Blake Barnett wrote:
> I've actually built quite a few packages for Debian.  Just never a
> single binary.  All the tools want a complete source-tree to do so.  I
> have a pre-compiled, stand-alone binary (only requires libc6) and want

> to make a deb so I can make it part of a virtual package which will
> install all dependancies for a certain 'class/type' of machine I have.

>
> I also don't have the source, or say for example.. it's a perl
script..
> or some bash scripts.. how would you do it?

mkdir -p mypkg/usr/bin mypkg/DEBIAN
cp binary mypkg/usr/bin
cat > mypkg/DEBIAN/control
Package: mypackage
Version: 1
Architecture: i386
Maintainer: Joey Hess <joeyh@debian.org>
Description: my little package
 Don't expect much.
^D
dpkg-deb -b mypkg

Disclaimer: I know the debian packaging system a little bit better then
most people. :-) Nevertheless, this kind of quick-n-dirty thing can be
really handy.

--
see shy jo


Reply to: