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

[#1797] Update package generation with new pjsip version

parent 21ed9b55
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ Authors:
%setup -q
%build
cd libs/pjproject-1.0.2
cd libs/pjproject-1.0.3
./autogen.sh --prefix=%{_prefix}
make dep
make clean
......@@ -69,13 +69,13 @@ cd -
make -j
%install
cd libs/pjproject-1.0.2
cd libs/pjproject-1.0.3
make DESTDIR=%{buildroot} install
cd -
make DESTDIR=%{buildroot} install
%clean
cd libs/pjproject-1.0.2
cd libs/pjproject-1.0.3
make clean
cd -
make clean
......
......@@ -58,7 +58,7 @@ Authors:
%setup -q
%build
cd libs/pjproject-1.0.2
cd libs/pjproject-1.0.3
./autogen.sh --prefix=%{_prefix}
make dep
make clean
......@@ -68,13 +68,13 @@ cd -
make -j
%install
cd libs/pjproject-1.0.2
cd libs/pjproject-1.0.3
make DESTDIR=%{buildroot} install
cd -
make DESTDIR=%{buildroot} install
%clean
cd libs/pjproject-1.0.2
cd libs/pjproject-1.0.3
make clean
cd -
make clean
......
......@@ -21,7 +21,7 @@ configure-stamp:
dh_testdir
# Add here commands to configure the package.
./autogen.sh --prefix=/usr
cd libs/pjproject-1.0.2; ./autogen.sh --prefix=/usr
cd libs/pjproject-1.0.3; ./autogen.sh --prefix=/usr
touch configure-stamp
#Architecture
......@@ -31,7 +31,7 @@ build-arch: build-arch-stamp
build-arch-stamp: configure-stamp
# Add here commands to compile the arch part of the package.
cd libs/pjproject-1.0.2; $(MAKE) dep; $(MAKE) clean; $(MAKE)
cd libs/pjproject-1.0.3; $(MAKE) dep; $(MAKE) clean; $(MAKE)
cd -; $(MAKE)
touch $@
......@@ -72,7 +72,7 @@ install-arch:
# Add here commands to install the arch part of the package into
# debian/tmp.
$(MAKE) DESTDIR=$(CURDIR)/debian/$(package) install
cd libs/pjproject-1.0.2; $(MAKE) prefix=$(CURDIR)/debian/$(package)/usr install
cd libs/pjproject-1.0.3; $(MAKE) prefix=$(CURDIR)/debian/$(package)/usr install
rm -rf $(CURDIR)/debian/$(package)/usr/include
dh_install -s
# Must not depend on anything. This is to be called by
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment