run_configure.sh runs configure script and outputs list of build dependency for platform

git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@992 63c20433-aa62-49bd-875c-5a186b69a8fb
This commit is contained in:
Romain Bouqueau
2008-08-20 14:09:06 +00:00
parent 0b25b6141d
commit c74f4f9694
2 changed files with 22 additions and 4 deletions

5
debian/control vendored
View File

@@ -6,10 +6,7 @@ Bugs: mailto:aribuki@enst.fr
Homepage: http://gpac.sourceforge.net
Standards-Version: 3.8.0
Build-Conflicts: libgpac-dev
Build-Depends: debhelper (>= 6), libxvidcore4-dev, libsdl1.2-dev,
libpng-dev, libfreetype6-dev, libjpeg62-dev, libavcodec-dev (>= 3:20080414-0.2),
libmad0-dev, libwxgtk2.6-dev, libxml2-dev, quilt, libssl-dev, libasound2-dev
libavformat-dev (>= 3:20080414-0.2), freeglut3-dev, ccache
Build-Depends: debhelper (>= 6), binutils (>= 2.18.1~cvs20080103-0ubuntu1 ), debianutils (>= 2.28.2-0ubuntu1 ), language-pack-fr (>= 1 ), language-pack-fr-base (>= 1 ), libacl1 (>= 2.2.45-1 ), libasound2-dev (>= 1.0.15-3ubuntu4 ), libattr1 (>= 1 ), libavcodec-dev (>= 3 ), libavutil-dev (>= 3 ), libc6 (>= 2.7-10ubuntu3 ), libc6-dev (>= 2.7-10ubuntu3 ), libc6-i686 (>= 2.7-10ubuntu3 ), libfreetype6-dev (>= 2.3.5-1ubuntu4 ), libglu1-mesa-dev (>= 7.0.3~rc2-1ubuntu3 ), libjpeg62-dev (>= 6b-14 ), libmad0-dev (>= 0.15.1b-2.1ubuntu1 ), libogg-dev (>= 1.1.3-3ubuntu1 ), libpng12-dev (>= 1.2.15~beta5-3 ), libsdl1.2-dev (>= 1.2.13-1ubuntu1 ), libselinux1 (>= 2.0.55-0ubuntu4 ), libssl-dev (>= 0.9.8g-4ubuntu3.3 ), libstdc++6-4.2-dev (>= 4.2.3-2ubuntu7 ), libtheora-dev (>= 1.0~beta2-2 ), libvorbis-dev (>= 1.2.0.dfsg-2 ), libwxgtk2.8-dev (>= 2.8.7.1-0ubuntu3 ), libx11-dev (>= 2 ), libxv-dev (>= 2 ), libxvidcore4-dev (>= 2 ), linux-libc-dev (>= 2.6.24-19.36 ), locales (>= 2.7.9-4 ), mesa-common-dev (>= 7.0.3~rc2-1ubuntu3 ), wx2.8-headers (>= 2.8.7.1-0ubuntu3 ), x11proto-core-dev (>= 7.0.11-1 ), x11proto-video-dev (>= 2.2.2-4ubuntu1 ), x11proto-xext-dev (>= 7.0.2-5ubuntu1 ), zlib1g-dev (>= 1 )
Package: gpac
Architecture: any

21
run_configure.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
#
# calls ./configure and prints out build dependency for platform
#
# Shell-script based on code suplied in [1]
# [1] Guide du nouveau responsable Debian. Copyright © 1998-2002 Josip Rodin
strace -f -o /tmp/log ./configure
echo ""
echo ""
echo "GPAC Build dependency for your platform"
for x in `dpkg -S $(grep open /tmp/log|\
perl -pe 's!.* open\(\"([^\"]*).*!$1!' |\
grep "^/"| sort | uniq|\
grep -v "^\(/tmp\|/dev\|/proc\)" ) 2>/dev/null|\
cut -f1 -d":"| sort | uniq`; \
do \
echo -n "$x (>=" `dpkg -s $x|grep ^Version|cut -f2 -d":"` "), "; \
done
echo ""
echo ""