Changeset 3cd65f82781b82519a7338631afe86910b59b400
- Timestamp:
- 02/02/03 19:57:01
(6 years ago)
- Author:
- Sam Hocevar <sam@videolan.org>
- git-committer:
- Sam Hocevar <sam@videolan.org> 1044212221 +0000
- git-parent:
[07a3355aa4a565e50dd2f20900399574365c5802]
- git-author:
- Sam Hocevar <sam@videolan.org> 1044212221 +0000
- Message:
- ./debian/woody-buildpackage: finished Woody build script.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r9fec72f |
r3cd65f8 |
|
| 279 | 279 | dh_installman doc/vlc.1 -p vlc |
|---|
| 280 | 280 | dh_installman doc/vlc-config.1 -p libvlc0-dev |
|---|
| 281 | | dh_installchangelogs ChangeLog -p vlc |
|---|
| | 281 | # dh_installchangelogs ChangeLog -p vlc |
|---|
| | 282 | cp ChangeLog debian/tmp/usr/share/doc/vlc/changelog |
|---|
| | 283 | cp debian/changelog debian/tmp/usr/share/doc/vlc/changelog.Debian |
|---|
| 282 | 284 | dh_link |
|---|
| 283 | 285 | dh_strip |
|---|
| rd6d487d |
r3cd65f8 |
|
| 1 | 1 | #! /bin/sh |
|---|
| 2 | 2 | |
|---|
| 3 | | # $Id: woody-buildpackage,v 1.1 2003/02/02 17:18:47 sam Exp $ |
|---|
| | 3 | # $Id: woody-buildpackage,v 1.2 2003/02/02 18:57:01 sam Exp $ |
|---|
| 4 | 4 | # Build VLC for a Woody Debian system |
|---|
| 5 | 5 | |
|---|
| … | … | |
| 12 | 12 | # replace (1.2.3-4) with (1.2.3-0woody.4) |
|---|
| 13 | 13 | sed -e 's/^vlc (\([^)]*\)-\([^-)]*\))/vlc (\1-0woody.\2)/' \ |
|---|
| 14 | | < debian/changelog >| debian/changelog.woody |
|---|
| | 14 | < debian/changelog > debian/changelog.woody |
|---|
| 15 | 15 | |
|---|
| 16 | 16 | # replace liba52-*-dev with a52dec-dev (>=0.7.3) |
|---|
| … | … | |
| 21 | 21 | -e 's/, libwx[^,]*//' \ |
|---|
| 22 | 22 | -e '/Package: wxvlc/,/^ *$/d' \ |
|---|
| 23 | | < debian/control >| debian/control.woody |
|---|
| | 23 | < debian/control > debian/control.woody |
|---|
| 24 | 24 | |
|---|
| 25 | | # remove wxwindows stuff |
|---|
| | 25 | # remove wxwindows stuff, change changelog path |
|---|
| 26 | 26 | sed -e '/# Package: wxvlc/,/^ *$/d' \ |
|---|
| 27 | 27 | -e '/--enable-wxwindows/d' \ |
|---|
| 28 | | < debian/rules >| debian/rules.woody |
|---|
| | 28 | -e ', debian/changelog , debian/changelog.woody ,' \ |
|---|
| | 29 | -e '/dh_gencontrol[^#]*/& -- -ldebian/changelog.woody/' \ |
|---|
| | 30 | < debian/rules > debian/rules.woody |
|---|
| 29 | 31 | chmod a+x debian/rules.woody |
|---|
| 30 | 32 | |
|---|
| | 33 | # Environment variables - taken from dpkg-buildpackage |
|---|
| 31 | 34 | curd="`pwd`" |
|---|
| 32 | 35 | dirn="`basename \"$curd\"`" |
|---|
| … | … | |
| 41 | 44 | chg=../"$pva.changes" |
|---|
| 42 | 45 | |
|---|
| 43 | | dpkg-checkbuilddeps -B debian/control.woody |
|---|
| | 46 | # Do the real work |
|---|
| | 47 | #dpkg-checkbuilddeps -B debian/control.woody || exit 1 |
|---|
| 44 | 48 | fakeroot debian/rules.woody clean |
|---|
| 45 | | cd ..; dpkg-source -b "$dirn"; cd "$dirn" |
|---|
| | 49 | cd ..; dpkg-source -l"$dirn"/debian/changelog.woody -b "$dirn"; cd "$dirn" |
|---|
| 46 | 50 | debian/rules.woody build |
|---|
| 47 | | fakeroot debian/rules binary |
|---|
| 48 | | dpkg-genchanges -ldebian/changelog.woody -c debian/control.woody >"$chg" |
|---|
| | 51 | fakeroot debian/rules.woody binary |
|---|
| | 52 | dpkg-genchanges -ldebian/changelog.woody -cdebian/control.woody >"$chg" |
|---|
| 49 | 53 | |
|---|