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

Re: Building package,



Hi again:
I tried your suggests, but I don't have successful
I put, my debian/rules:
--------------------------------------------------------------------------
include /usr/share/dpatch/dpatch.make
#The upstream source don't include "./configure" rule, only "make"
#LDFLAGS=-Wall -g
#export LDFLAGS

build: build-stamp

build-stamp: patch-stamp
    dh_testdir
    $(MAKE)  
    touch $@

clean: unpatch
    dh_testdir
    dh_testroot
    rm -f build-stamp configure-stamp
    # Add here commands to clean up after the build process.
    $(MAKE) clean
    dh_clean

install: build
    dh_testdir
    dh_testroot
    dh_clean -k
    dh_installdirs

    # Add here commands to install the package into debian/jigzo.
    cp $(CURDIR)/jigzo $(CURDIR)/debian/jigzo/usr/games
    cp -r font $(CURDIR)/debian/jigzo/usr/share/jigzo
    cp -r image $(CURDIR)/debian/jigzo/usr/share/jigzo
    cp -r sound $(CURDIR)/debian/jigzo/usr/share/jigzo
    cp -r puzzles $(CURDIR)/debian/jigzo/usr/share/jigzo
    dh_install
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
    dh_testdir
    dh_testroot
    dh_installchangelogs
    dh_installdocs
    dh_desktop
    dh_installmenu
    dh_installman
    dh_link
    dh_strip
    dh_compress
    dh_fixperms
    dh_installdeb
    dh_shlibdeps
    dh_gencontrol
    dh_md5sums
    dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

Sorry, I'm newbie

Thanks for advance

On Thu, Oct 2, 2008 at 3:03 PM, Elías A. M. <ealmdz@gmail.com> wrote:
Hi,
Somebody  know why when I build the package, show me:
dpkg-shlibdeps: warning: debian/pack/usr/games/pack shouldn't be linked with libpthread.so.0 (it uses none of its symbols).

and,

dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}

Those two warnings, show me. But the lintian test is ok.

Thanks for advance,



Reply to: