File: extract_and_patch.in

package info (click to toggle)
portslave 2002.01.19
  • links: PTS
  • area: main
  • in suites: woody
  • size: 836 kB
  • ctags: 1,212
  • sloc: ansic: 8,258; sh: 168; makefile: 122
file content (15 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

if [ ! -d @pppdir@ ]; then
  tar xzf @pppsourcedir@/@pppdir@.t*gz
  cd @pppdir@
  for n in ../patches/@pppdir@/* @callback_patch@
  do
    if [ -f $n ]; then
      echo "Applying patch $n"
      patch -p1 < $n
    fi
  done
  cd ..
  make -C src dep
fi