Style fixes.

Use ${} for variables.
This commit is contained in:
Daniel Mierswa 2010-03-11 11:42:25 +01:00
parent a055948a8a
commit 0bb712b102
4 changed files with 21 additions and 21 deletions

View file

@ -9,7 +9,7 @@ DESCRIPTION="
machine on a different machine. It claims to achieve good performances machine on a different machine. It claims to achieve good performances
because of dynamic translation.' because of dynamic translation.'
" "
HOMEPAGE="http://bellard.org/$PN" HOMEPAGE="http://bellard.org/${PN}"
LICENCES="GPL-2" LICENCES="GPL-2"
MYOPTIONS=" MYOPTIONS="
@ -39,9 +39,9 @@ DEPENDENCIES="
REMOTE_IDS="freshmeat:qemu" REMOTE_IDS="freshmeat:qemu"
UPSTREAM_CHANGELOG="$HOMEPAGE/changelog.html" UPSTREAM_CHANGELOG="${HOMEPAGE}/changelog.html"
UPSTREAM_DOCUMENTATION="$HOMEPAGE/user-doc.html" UPSTREAM_DOCUMENTATION="${HOMEPAGE}/user-doc.html"
UPSTREAM_RELEASE_NOTES="$HOMEPAGE/index.html" UPSTREAM_RELEASE_NOTES="${HOMEPAGE}/index.html"
# TODO: configure creates automagic dependency and static linkage with SDL # TODO: configure creates automagic dependency and static linkage with SDL
@ -68,11 +68,11 @@ qemu_src_configure ()
--prefix=/usr \ --prefix=/usr \
--host-cc="${BUILD_CC}" \ --host-cc="${BUILD_CC}" \
--cc="${CC}" \ --cc="${CC}" \
--extra-cflags="$CFLAGS" \ --extra-cflags="${CFLAGS}" \
--extra-ldflags="$LDFLAGS" \ --extra-ldflags="${LDFLAGS}" \
--disable-strip \ --disable-strip \
--audio-drv-list="$(echo ${audio_drv[@]} | tr ' ' ',')" \ --audio-drv-list="$(echo ${audio_drv[@]} | tr ' ' ',')" \
${myconf[@]} \ "${myconf[@]}" \
${EXTRA_ECONF} \ ${EXTRA_ECONF} \
$@ $@
} }

View file

@ -8,8 +8,8 @@ DESCRIPTION="A text file conversion utility that converts ASCII files between
MSDOS (or Windows) format, which traditionally have CR/LF (carriage MSDOS (or Windows) format, which traditionally have CR/LF (carriage
return/line feed) pairs as their new line delimiters, and the Unix format, return/line feed) pairs as their new line delimiters, and the Unix format,
which usually have LFs (line feeds) to terminate each line." which usually have LFs (line feeds) to terminate each line."
HOMEPAGE="http://www.thefreecountry.com/$PN/index.shtml" HOMEPAGE="http://www.thefreecountry.com/${PN}/index.shtml"
DOWNLOADS="http://$PN.sourceforge.net/download/$PNV.tar.gz" DOWNLOADS="http://${PN}.sourceforge.net/download/${PNV}.tar.gz"
LICENCES="GPL-2" LICENCES="GPL-2"
SLOT="0" SLOT="0"
@ -18,7 +18,7 @@ MYOPTIONS=""
DEPENDENCIES="" DEPENDENCIES=""
WORK="$WORKBASE/$PN/src" WORK="${WORKBASE}/${PN}/src"
src_prepare() { src_prepare() {
default default
@ -26,8 +26,8 @@ src_prepare() {
edo sed \ edo sed \
-e "/CC =/s:gcc:${CC}:" \ -e "/CC =/s:gcc:${CC}:" \
-e "/LD =/s:gcc:${CC}:" \ -e "/LD =/s:gcc:${CC}:" \
-e "/CFLAGS =/s:\$(CDEBUG):$CFLAGS:" \ -e "/CFLAGS =/s:\$(CDEBUG):${CFLAGS}:" \
-e "/LDFLAGS =/s:\$(LDEBUG):$LDFLAGS:" \ -e "/LDFLAGS =/s:\$(LDEBUG):${LDFLAGS}:" \
-i Makefile -i Makefile
} }
@ -36,8 +36,8 @@ src_install() {
doman fromdos.1 doman fromdos.1
for link in todos dos2unix unix2dos ; do for link in todos dos2unix unix2dos ; do
dosym fromdos /usr/bin/$link dosym fromdos /usr/bin/${link}
dosym fromdos.1 /usr/share/man/man1/$link.1 dosym fromdos.1 /usr/share/man/man1/${link}.1
done done
} }

View file

@ -6,15 +6,15 @@ DESCRIPTION="
A simple and small library (38K - 66K) POSIX and Windows 2000 or later compliant configuration A simple and small library (38K - 66K) POSIX and Windows 2000 or later compliant configuration
file parser. file parser.
" "
HOMEPAGE="http://www.hyperrealm.com/$PN" HOMEPAGE="http://www.hyperrealm.com/${PN}"
DOWNLOADS="$HOMEPAGE/$PNV.tar.gz" DOWNLOADS="${HOMEPAGE}/${PNV}.tar.gz"
LICENCES="LGPL-2.1" LICENCES="LGPL-2.1"
SLOT="0" SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
MYOPTIONS="" MYOPTIONS=""
UPSTREAM_DOCUMENTATION="$HOMEPAGE/${PN}_manual.html [[ lang = en description = [ Manual ] ]]" UPSTREAM_DOCUMENTATION="${HOMEPAGE}/${PN}_manual.html [[ lang = en description = [ Manual ] ]]"
DEPENDENCIES=" DEPENDENCIES="
build: build:

View file

@ -4,7 +4,7 @@
SUMMARY="XFS userspace tools" SUMMARY="XFS userspace tools"
DESCRIPTION="Userspace utilities for the XFS filesystem including fsck and mkfs." DESCRIPTION="Userspace utilities for the XFS filesystem including fsck and mkfs."
HOMEPAGE="http://oss.sgi.com/projects/xfs/" HOMEPAGE="http://oss.sgi.com/projects/xfs/"
DOWNLOADS="ftp://oss.sgi.com/projects/xfs/cmd_tars/$PNV.tar.gz" DOWNLOADS="ftp://oss.sgi.com/projects/xfs/cmd_tars/${PNV}.tar.gz"
LICENCES="GPL LGPL-2.1" LICENCES="GPL LGPL-2.1"
SLOT="0" SLOT="0"
@ -17,15 +17,15 @@ DEPENDENCIES="
" "
DEFAULT_SRC_CONFIGURE_PARAMS+=( OPTIMIZER=' ' DEBUG=' ' --sbindir=/sbin ) DEFAULT_SRC_CONFIGURE_PARAMS+=( OPTIMIZER=' ' DEBUG=' ' --sbindir=/sbin )
DEFAULT_SRC_INSTALL_PARAMS+=( DIST_ROOT="$IMAGE" ) DEFAULT_SRC_INSTALL_PARAMS+=( DIST_ROOT="${IMAGE}" )
src_prepare() { src_prepare() {
default default
edo sed -e "/^PKG_DOC_DIR\t=/s:@pkg_name@:$PNV:" -i include/builddefs.in edo sed -e "/^PKG_DOC_DIR\t=/s:@pkg_name@:${PNV}:" -i include/builddefs.in
} }
src_install() { src_install() {
default default
edo rm "$IMAGE/usr/share/doc/$PNV/release.sh" edo rm "${IMAGE}/usr/share/doc/${PNV}/release.sh"
} }