mv -f FreeNote subdir1
mv -f FreeNoteSetup subdir2
printf "TEMPLATE=subdirs\nSUBDIRS=subdir1 subdir2\n" >> freenote.pro
- pushd ${S}/subdir1 && rm *.pro && qmake -project && echo "TARGET=FreeNote" >> subdir1.pro && popd
- pushd ${S}/subdir2 && rm *.pro && qmake -project && echo "TARGET=FreeNoteSetup" >> subdir2.pro && popd
+ cd ${S}/subdir1 && rm *.pro && qmake -project && echo "TARGET=FreeNote" >> subdir1.pro
+ cd ${S}/subdir2 && rm *.pro && qmake -project && echo "TARGET=FreeNoteSetup" >> subdir2.pro
+ cd ${S}
}
do_install() {
do_install_prepend() {
install -d ${D}
- pushd ${D}
+ cd ${D}
tar -xzf ${STAGING_DATADIR_NATIVE}/mono-mcs/mono-mcs-${PV}.tar.gz
- popd
+ cd ${S}
}
do_install_append() {
# however, jay is not being cross-compiled and thus only
# available for the buildhost architecture, so remove it
# entirely
- pushd ${D}
+ cd ${D}
rm -rf ./usr/share/man/man1/jay.1 ./usr/share/jay \
./usr/share/jay/README.jay \
./usr/bin/jay
- popd
+ cd ${S}
# Not packaged with the default rules and apparently
# not used for anything
do_install_prepend() {
install -d ${D}
- pushd ${D}
+ cd ${D}
tar -xzf ${STAGING_DATADIR_NATIVE}/mono-mcs/mono-mcs-${PV}.tar.gz
- popd
+ cd ${S}
}
do_install_append() {
# however, jay is not being cross-compiled and thus only
# available for the buildhost architecture, so remove it
# entirely
- pushd ${D}
+ cd ${D}
rm -rf ./usr/share/man/man1/jay.1 ./usr/share/jay \
./usr/share/jay/README.jay \
./usr/bin/jay
- popd
+ cd ${S}
# Not packaged with the default rules and apparently
# not used for anything
do_install_prepend() {
install -d ${D}
- pushd ${D}
+ cd ${D}
tar -xzf ${STAGING_DATADIR_NATIVE}/mono-mcs/mono-mcs-${PV}.tar.gz
- popd
+ cd ${S}
}
do_install_append() {
# however, jay is not being cross-compiled and thus only
# available for the buildhost architecture, so remove it
# entirely
- pushd ${D}
+ cd ${D}
rm -rf ./usr/share/man/man1/jay.1 ./usr/share/jay \
./usr/share/jay/README.jay \
./usr/bin/jay
- popd
+ cd ${S}
# Not packaged with the default rules and apparently
# not used for anything
sed -i -e 's,/opt/QtPalmtop/bin/,${bindir}/,g' "${S}/ui/nunome.h"
sed -i -e 's,/opt/QtPalmtop/,${palmtopdir}/,g' "${S}/ui/nunome.h"
printf "TEMPLATE=subdirs\nSUBDIRS=Nnmlib server ui dicman ui\n" >nunome.pro
- pushd Nnmlib && qmake -project -t lib && popd
- pushd server && qmake -project && printf "LIBS+=-lNnmlib\nTARGET=server.bin\n" >> server.pro && popd
- pushd dicman && qmake -project && printf "LIBS+=-lnunome -lNnmlib\nTARGET=dicman.bin\n" >> dicman.pro && popd
- pushd ui && qmake -project -t lib && printf "LIBS+=-lNnmlib\nTARGET=nunome\n" >> ui.pro && popd
+ cd Nnmlib && qmake -project -t lib && cd ../
+ cd server && qmake -project && printf "LIBS+=-lNnmlib\nTARGET=server.bin\n" >> server.pro && cd ../
+ cd dicman && qmake -project && printf "LIBS+=-lnunome -lNnmlib\nTARGET=dicman.bin\n" >> dicman.pro && cd ../
+ cd ui && qmake -project -t lib && printf "LIBS+=-lNnmlib\nTARGET=nunome\n" >> ui.pro && cd ../
find . -name "moc*"|xargs rm -f
find . -name "Makefile"|xargs rm -f
}
do_stage() {
install -d ${STAGING_INCDIR}/xserver-xorg
for i in i810 via; do
- pushd ${S}/programs/Xserver/hw/xfree86/drivers/$i; install -m 0644 *.h ${STAGING_INCDIR}/xserver-xorg/; popd
+ cd ${S}/programs/Xserver/hw/xfree86/drivers/$i; install -m 0644 *.h ${STAGING_INCDIR}/xserver-xorg/
done
+
+ cd ${S}
install -m 0644 programs/Xserver/hw/xfree86/common/fourcc.h ${STAGING_INCDIR}/xserver-xorg/
}