}
pkg_postinst () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D acpid defaults
}
pkg_prerm () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D acpid remove
}
pkg_postinst () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D acpid defaults
}
pkg_prerm () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D acpid remove
}
pkg_postinst () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D httpd defaults 91 20
}
pkg_prerm () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D httpd remove
install -m 0644 ${S}/debian/apmd_proxy.conf ${D}/${datadir}/apmd/
install -m 0644 ${S}/debian/apmd.default ${D}/${sysconfdir}/default/apmd
oe_soinstall .libs/libapm.so.1.0.0 ${D}/${libdir}/
-
+
cat ${FILESDIR}/init | sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' > ${D}/${sysconfdir}/init.d/apmd
chmod 755 ${D}/${sysconfdir}/init.d/apmd
}
pkg_postinst () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D apmd defaults
}
pkg_prerm () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D apmd remove
. ./RELEASE
(echo "AC_DEFUN(AM_VERSION_SET, [" &&
echo "AC_SUBST(DB_VERSION_MAJOR)" &&
- echo "DB_VERSION_MAJOR=$DB_VERSION_MAJOR" &&
+ echo "DB_VERSION_MAJOR=\$DB_VERSION_MAJOR" &&
echo "AC_SUBST(DB_VERSION_MINOR)" &&
- echo "DB_VERSION_MINOR=$DB_VERSION_MINOR" &&
+ echo "DB_VERSION_MINOR=\$DB_VERSION_MINOR" &&
echo "AC_SUBST(DB_VERSION_PATCH)" &&
- echo "DB_VERSION_PATCH=$DB_VERSION_PATCH" &&
+ echo "DB_VERSION_PATCH=\$DB_VERSION_PATCH" &&
echo "AC_SUBST(DB_VERSION_STRING)" &&
- echo "DB_VERSION_STRING=\"\\\"$DB_VERSION_STRING\\\"\"" &&
+ echo "DB_VERSION_STRING=\"\\\"\$DB_VERSION_STRING\\\"\"" &&
echo "])dnl") > acinclude.m4
)
}
cp -a "${FILESDIR}/autoconf.h" "${WORKDIR}/linux/include/linux/"
sed 's:\(^.*define.*__NR_waitpid.*$\):/*&*/:' < ${WORKDIR}/linux/include/asm-arm/unistd.h > ${WORKDIR}/linux/include/asm-arm/unistd.h.new
mv ${WORKDIR}/linux/include/asm-arm/unistd.h.new ${WORKDIR}/linux/include/asm-arm/unistd.h
- case $TARGET_ARCH in
+ case ${TARGET_ARCH} in
alpha*) TARGET_ARCH=alpha ;;
arm*) TARGET_ARCH=arm ;;
cris*) TARGET_ARCH=cris ;;
EXTRA_OECONF = "--disable-lynx"
pkg_postinst () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D ifplugd defaults
}
pkg_prerm () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D ifplugd remove
}
pkg_postinst () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D networking start 40 S . stop 40 0 6 1 .
}
pkg_prerm () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D networking remove
}
pkg_postinst () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D inetd start 20 2 3 4 5 . stop 20 0 1 6 .
}
pkg_prerm () {
- if test -n "$D"; then
+ if test -n "${D}"; then
D="-r $D"
fi
update-rc.d $D inetd remove
EXTRA_OEMAKE = "-e"
do_configure() {
- if [ "$BUILD_ARCH" = "i686" ]; then
- BUILD_ARCH=x86
- fi
- echo yes | ./configure $EXTRA_OECONF || die "Configuring qt failed"
-
+ oenote ./configure ${EXTRA_OECONF}
+ echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
}
do_compile() {
export SYSCONF_UIC = "${STAGING_BINDIR}/uic"
do_configure() {
- if [ "$BUILD_ARCH" = "i686" ]; then
- BUILD_ARCH=x86
- fi
- echo yes | ./configure $EXTRA_OECONF || die "Configuring qt failed"
+ oenote ./configure ${EXTRA_OECONF}
+ echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
}
do_compile() {
export SYSCONF_UIC = "${STAGING_BINDIR}/uic"
do_configure() {
- if [ "$BUILD_ARCH" = "i686" ]; then
- BUILD_ARCH=x86
- fi
- echo yes | ./configure $EXTRA_OECONF || die "Configuring qt failed"
+ oenote ./configure ${EXTRA_OECONF}
+ echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
}
do_compile() {
export SYSCONF_UIC = "${STAGING_BINDIR}/uic"
do_configure() {
- if [ "$BUILD_ARCH" = "i686" ]; then
- BUILD_ARCH=x86
- fi
- echo yes | ./configure $EXTRA_OECONF || die "Configuring qt failed"
+ oenote ./configure ${EXTRA_OECONF}
+ echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
}
do_compile() {
ARCH_i686 = "x86"
-EXTRA_OECONF = "-depths 8,16 -xplatform linux-x86-g++ -no-qvfb -no-g++-exceptions -no-jpeg -no-mng -qt-zlib -qt-libpng -no-xft -no-xkb -no-vnc -no-sm -no-opengl -static -qconfig oe"
+EXTRA_OECONF = "-depths 8,16 -no-qvfb -no-g++-exceptions -no-jpeg -no-mng -qt-zlib -qt-libpng -no-xft -no-xkb -no-vnc -no-sm -no-opengl -static -qconfig oe"
EXTRA_OEMAKE = "-e"
do_configure() {
- if [ "$BUILD_ARCH" = "i686" ]; then
- BUILD_ARCH=x86
- fi
echo "#define QT_NO_FREETYPE" >>src/tools/qconfig-oe.h
- echo yes | ./configure $EXTRA_OECONF || die "Configuring qt failed"
+ oenote ./configure ${EXTRA_OECONF}
+ echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
}
do_compile() {