|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: target/mnemosyne/parse-config |
|
|
|
# Copyright (C) 2006 The OpenSDE Project |
|
|
|
# Copyright (C) 2006 - 2007 The OpenSDE Project |
|
|
|
# Copyright (C) 2002 - 2006 Alejandro Mery |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
@ -56,7 +56,17 @@ mnemosyne_postinstall() { |
|
|
|
if [ "$SDECFG_TRG_MNEMOSYNE_DEVELOPMENT" != 1 ]; then |
|
|
|
echo_status "No developent files will be flisted" |
|
|
|
mnemosyne_flist_no_devel() { |
|
|
|
sed -i -e '/\.\(h\|a\|la\|pc\)$/d;' $builddir/flist.txt |
|
|
|
} |
|
|
|
hook_add postflist 5 "mnemosyne_flist_no_devel" |
|
|
|
sed -i -e '/\.\(c\|h\|hpp\|hxx\|a\|la\|m4\|pc\)$/d;' \ |
|
|
|
$builddir/flist.txt |
|
|
|
|
|
|
|
case "$pkg" in |
|
|
|
gcc) |
|
|
|
sed -i -e '/^usr\/\(bin\|include\|libexec\|lib\/gcc\|share\)/d;' -e '/lib\/cpp/d;' $builddir/flist.txt |
|
|
|
;; |
|
|
|
glibc) |
|
|
|
sed -i -e '/^usr\/include/d;' $builddir/flist.txt |
|
|
|
;; |
|
|
|
esac |
|
|
|
} |
|
|
|
hook_add postflist 5 "mnemosyne_flist_no_devel" |
|
|
|
fi |