On Thu, Mar 06, 2014 at 04:33:50PM +0100, Solal Rastier wrote: > Hello! I've an idea for a new apt-get package style : > > Developer side : > -The developer create a ./install script in the source code. > -The install script executes all commands necessary for install the software. > Also, it getting dependancies, etc. > -The developer create a tarball (.tar.bzip2) and rename the file name. > Instead of software.tar.bzip2 , that's software.deb > -The developer distribute the software.deb > > Apt-get side : > -The apt-get tool download software.deb from the Debian repository. > -The program is installed with dpkg > > Dpkg side : > -dpkg rename the software.deb software.tar.bzip2 > -tar uncompress the software.tar.bzip2 > -cd go into the "software" folder > -./install execute install script
Script to do this attached; can I have my GSoC money now? :) Cheers, Paul -- .''`. Paul Tagliamonte <paul...@debian.org> | Proud Debian Developer : :' : 4096R / 8F04 9AD8 2C92 066C 7352 D28A 7B58 5B30 807C 2A87 `. `'` http://people.debian.org/~paultag `- http://people.debian.org/~paultag/conduct-statement.txt
#!/bin/bash PACKAGE=$1 WORKDIR=$(mktemp -d) pushd ${WORKDIR} >/dev/null apt-get build-dep ${PACKAGE} apt-get source --build ${PACKAGE} dpkg -i *deb popd ${WORKDIR} >/dev/null
signature.asc
Description: Digital signature