Skip to content
Snippets Groups Projects
Commit 950784c3 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Add files to build packages

parent 934b7322
No related branches found
No related tags found
No related merge requests found
i386
...@@ -76,8 +76,10 @@ cp changelog.Debian.gz $sfldir$sharedir/doc/sflphone ...@@ -76,8 +76,10 @@ cp changelog.Debian.gz $sfldir$sharedir/doc/sflphone
cp copyright $sfldir$sharedir/doc/sflphone cp copyright $sfldir$sharedir/doc/sflphone
cp TODO $sfldir$sharedir/doc/sflphone cp TODO $sfldir$sharedir/doc/sflphone
# DEBIAN files
mkdir -p $debdir mkdir -p $debdir
cp debian-binary $sfldir
cp postrm $debdir
# DEBIAN files
# Create control file # Create control file
control="$debdir/control" control="$debdir/control"
touch $control touch $control
...@@ -99,4 +101,4 @@ fakeroot dpkg --build $sfldir ${sfldir}_$2.deb ...@@ -99,4 +101,4 @@ fakeroot dpkg --build $sfldir ${sfldir}_$2.deb
# Clean up the generated stuff # Clean up the generated stuff
echo "Clean up ... " echo "Clean up ... "
#rm -rf $sfldir rm -rf $sfldir
...@@ -6,15 +6,14 @@ Build-Depends: debhelper (>> 3.0.0) ...@@ -6,15 +6,14 @@ Build-Depends: debhelper (>> 3.0.0)
Standards-Version: 0.9.1 Standards-Version: 0.9.1
Package: sflphone Package: sflphone
Architecture: i386
Section: gnome Section: gnome
Priority: optional Priority: optional
Architecture: i386
Essential: no Essential: no
Depends: libgcc1 , libsamplerate0 (>=0.1.2) , libdbus-glib-1-2 (>= 0.73), libexpat1 , libgtk2.0-0 , gnome-common , libc6 (>= 2.3.6-6) , libglib2.0-0 (>= 2.12.0) , libosip2-3, libexosip2-5, libcommoncpp2-1.5.3-0 , libccrtp1-1.5-1 , libiax0 , libgtkglext1 Depends: libgcc1 , libsamplerate0 (>=0.1.2) , libdbus-glib-1-2 (>= 0.73), libexpat1 , libgtk2.0-0 , libc6 (>= 2.3.6-6) , libglib2.0-0 (>= 2.12.0) , libosip2-2, libexosip2-4, libcommoncpp2-1.6-0 , libccrtp1-1.6-0 , sflphone-iax2 , libgsm1 (>=1.0.10) , libspeex1 (>=1.1.12) , dbus-c++-1 (>=0.5.0) , libsexy2 (>=0.1.11)
Homepage: http://www.sflphone.org Homepage: http://www.sflphone.org
Description: SFLphone - Answer the call Description: SIP and IAX2 compatible softphone
SFLphone is meant to be a robust enterprise-class desktop phone. It is design with a hundred-calls-a-day receptionist in mind. It can work for you, too. SFLphone is meant to be a robust enterprise-class desktop phone.
.
SFLphone is released under the GNU General Public License. SFLphone is released under the GNU General Public License.
. SFLphone is being developed by the global community, and maintained by
SFLphone is being developed by the global community, and maintained by Savoir-faire Linux, a Montreal, Quebec, Canada-based Linux consulting company. Savoir-faire Linux, a Montreal, Quebec, Canada-based Linux consulting company.
2.0
#!/bin/sh
# debian/postrm postremoval script for SFLphone
if [ "$1" = "purge" ]
then
# remove the user config file
rm -f $HOME/.sflphone/sflphonedrc
fi
exit 0
## -------------------------------------------------
...@@ -35,10 +35,12 @@ endif ...@@ -35,10 +35,12 @@ endif
config.status: configure config.status: configure
dh_testdir dh_testdir
# Add here commands to configure the package. # Add here commands to configure the package.
autoreconf --install #autoreconf --install
CFLAGS="$(CFLAGS)" CXX="$(CXX)" ./configure --prefix=/usr --with-debug #CFLAGS="$(CFLAGS)" CXX="$(CXX)" ./configure --prefix=/usr --with-debu
./configure --prefix=/
#gnome-autogen.sh --prefix=/usr --with-debug
cd sflphone-gtk cd sflphone-gtk
gnome-autogen.sh --prefix=/usr ./configure --prefix=/
#Architecture #Architecture
...@@ -48,7 +50,8 @@ build-arch: build-arch-stamp ...@@ -48,7 +50,8 @@ build-arch: build-arch-stamp
build-arch-stamp: config.status build-arch-stamp: config.status
# Add here commands to compile the arch part of the package. # Add here commands to compile the arch part of the package.
#$(MAKE) $(MAKE) && (cd sflphone-gtk)
$(MAKE)
touch build-arch-stamp touch build-arch-stamp
build-indep: build-indep-stamp build-indep: build-indep-stamp
...@@ -96,7 +99,7 @@ install-arch: ...@@ -96,7 +99,7 @@ install-arch:
# Add here commands to install the arch part of the package into # Add here commands to install the arch part of the package into
# debian/tmp. # debian/tmp.
$(MAKE) install DESTDIR=$(CURDIR)/debian/sflphoned $(MAKE) install DESTDIR=$(CURDIR)/debian/sflphone/usr
dh_install -s dh_install -s
# Must not depend on anything. This is to be called by # Must not depend on anything. This is to be called by
......
usr/bin
usr/bin/sflphoned
usr/bin/sflphone-gtk
usr/bin/sflphone
#/usr/lib
usr/lib/sflphone/codecs
usr/lib/sflphone/codecs/libcodec_*
#/usr/share/applications
usr/share/applications
usr/share/applications/sflphone.desktop
usr/share/dbus-1/services
usr/share/dbus-1/services/org.sflphone.SFLphone.service
usr/share/pixmaps
usr/share/pixmaps/sflphone.png
usr/share/sflphone/*
usr/share/sflphone/ringtones/*
usr/share/locale/fr/LC_MESSAGES
usr/share/locale/fr/LC_MESSAGES/sflphone.mo
usr/share/locale/es/LC_MESSAGES
usr/share/locale/es/LC_MESSAGES/sflphone.mo
changelog.Debian.gz
copyright
TODO
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment