Le vendredi 08 avril 2011 à 19:02 +0300, Martin Paljak a écrit :
> Maybe building for sid would make sense. 
SID has all updated pcsc and ccid packages. It makes more sense.

> I'm planning to to set up Debian stable and Ubuntu 10.10 (and 11.04
> soon) slaves for .deb builds. 
Sure Ubuntu is important. Next on the list.

> But the real pre-requisite is a working debian packaging framework
> (like the pkg-opensc git repository).

apt-get source opensc
downloads the Debian source packages

Rules are in debian directory
opensc-0.11.13/debian

rules:
***************************
#!/usr/bin/make -f

%:
        dh $@

override_dh_auto_configure:
        dh_auto_configure -- --sysconfdir=/etc/opensc \
                --enable-nsplugin \
                --enable-pcsc \
                --enable-openct \
                --enable-doc \
                --htmldir=/usr/share/doc/opensc/html

override_dh_strip:
        dh_strip --dbg-package=libopensc2-dbg

override_dh_installchangelogs:
        dh_installchangelogs doc/nonpersistent/ChangeLog

override_dh_installdocs:
        dh_installdocs -A README NEWS
***************************

We only need to disable OpenCT.
Then there are additional tweaks to upgrade dependencies and versions.

What I need to learn is how to create Debian repository so user don't
have to download manually and add a reference to apt. But it should not
be too hard.

Kind regards,

-- 
                  Jean-Michel Pouré - Gooze - http://www.gooze.eu

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to