Diffstat (limited to 'noncore/net/wellenreiter/makedist.sh') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/net/wellenreiter/makedist.sh | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/noncore/net/wellenreiter/makedist.sh b/noncore/net/wellenreiter/makedist.sh index ccb9c85..6a0bb26 100755 --- a/noncore/net/wellenreiter/makedist.sh +++ b/noncore/net/wellenreiter/makedist.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | VERSION=2-1.0.1-cvs | 1 | VERSION=2-1.0.2 |
2 | 2 | ||
3 | TGZDIR=$PWD | 3 | TGZDIR=$PWD |
4 | 4 | ||
@@ -17,6 +17,7 @@ TMPFILE=/tmp/build | |||
17 | TMPDIR=$TMPFILE/wellenreiter$VERSION | 17 | TMPDIR=$TMPFILE/wellenreiter$VERSION |
18 | OUTPUT=$TMPDIR/output | 18 | OUTPUT=$TMPDIR/output |
19 | 19 | ||
20 | mkdir -p $TMPDIR/libopie2/opiecore | ||
20 | mkdir -p $TMPDIR/libopie2/opieui | 21 | mkdir -p $TMPDIR/libopie2/opieui |
21 | mkdir -p $TMPDIR/libopie2/opienet | 22 | mkdir -p $TMPDIR/libopie2/opienet |
22 | mkdir -p $TMPDIR/include/opie2 | 23 | mkdir -p $TMPDIR/include/opie2 |
@@ -28,23 +29,18 @@ cp -dfR build README wellenreiter.pro $TMPDIR | |||
28 | cp -dfR $OPIEDIR/pics/wellenreiter/* $OUTPUT/share/wellenreiter/ | 29 | cp -dfR $OPIEDIR/pics/wellenreiter/* $OUTPUT/share/wellenreiter/ |
29 | cp -dfR $OPIEDIR/etc/manufacturers $OUTPUT/share/wellenreiter/ | 30 | cp -dfR $OPIEDIR/etc/manufacturers $OUTPUT/share/wellenreiter/ |
30 | 31 | ||
31 | # take care about sourcefiles | 32 | # take care about sourcefiles from libopie2 |
32 | 33 | ||
33 | FILES="libopie2/opienet/onetwork.h libopie2/opienet/onetwork.cpp \ | 34 | cp -dfR $OPIEDIR/libopie2/opienet/*.* $TMPDIR/libopie2/opienet |
34 | libopie2/opienet/opcap.h libopie2/opienet/opcap.cpp \ | 35 | cp -dfR $OPIEDIR/libopie2/opiecore/*.* $TMPDIR/libopie2/opiecore |
35 | libopie2/opienet/802_11_user.h libopie2/opienet/dhcp.h libopie2/opienet/udp_ports.h \ | 36 | cp -dfR $OPIEDIR/libopie2/opieui/olistview.* $TMPDIR/libopie2/opieui |
36 | libopie2/opienet/onetutils.h libopie2/opienet/onetutils.cpp \ | ||
37 | libopie2/opienet/omanufacturerdb.h libopie2/opienet/omanufacturerdb.cpp \ | ||
38 | libopie2/opieui/olistview.cpp libopie2/opieui/olistview.h" | ||
39 | |||
40 | for i in $FILES | ||
41 | do cp -dfR $OPIEDIR/$i $TMPDIR/$i | ||
42 | done | ||
43 | 37 | ||
44 | # make includes | 38 | # make includes |
39 | |||
45 | pushd $TMPDIR/include/opie2 | 40 | pushd $TMPDIR/include/opie2 |
46 | ln -sf ../../libopie2/opieui/*.h . | 41 | ln -sf ../../libopie2/opieui/*.h . |
47 | ln -sf ../../libopie2/opienet/*.h . | 42 | ln -sf ../../libopie2/opienet/*.h . |
43 | ln -sf ../../libopie2/opiecore/*.h . | ||
48 | popd | 44 | popd |
49 | 45 | ||
50 | find $TMPDIR -name "CVS"|xargs rm -rf | 46 | find $TMPDIR -name "CVS"|xargs rm -rf |