From d7fca4c40dcb95564df542c6bcdcc5500727fa58 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 17 May 2007 11:07:45 +0000 Subject: puzzles: r6915 -> r7593 git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1746 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/puzzles/puzzles_r6915.bb | 56 ---------------------------------- meta/packages/puzzles/puzzles_r7593.bb | 56 ++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 meta/packages/puzzles/puzzles_r6915.bb create mode 100644 meta/packages/puzzles/puzzles_r7593.bb (limited to 'meta') diff --git a/meta/packages/puzzles/puzzles_r6915.bb b/meta/packages/puzzles/puzzles_r6915.bb deleted file mode 100644 index bcb19bae2..000000000 --- a/meta/packages/puzzles/puzzles_r6915.bb +++ /dev/null @@ -1,56 +0,0 @@ - -DEPENDS = "gtk+" -PR = "r4" -MOD_PV = "${@bb.data.getVar('PV',d,1)[1:]}" - -#SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz" -SRC_URI = "svn://ixion.tartarus.org/main;module=puzzles;rev=${MOD_PV} \ - file://makedist_hack.patch;patch=1" - -S = "${WORKDIR}/${PN}" - -do_configure () { - ./makedist.sh ${MOD_PV} -} - -do_compile_prepend = " \ - export XLDFLAGS='${LDFLAGS} `${STAGING_BINDIR_NATIVE}/pkg-config gtk+-2.0 --libs`'; \ - export CFLAGS='${CFLAGS} -I./ `${STAGING_BINDIR_NATIVE}/pkg-config gtk+-2.0 --cflags`'; " - -FILES_${PN} = "${prefix}/games/* ${datadir}/applications/*" -FILES_${PN}-dbg += "${prefix}/games/.debug" - -do_install () { - rm -rf ${D}/* - export prefix=${D} - export DESTDIR=${D} - install -d ${D}/${prefix}/ - install -d ${D}/${prefix}/games/ - oe_runmake install - - install -d ${D}/${datadir}/ - install -d ${D}/${datadir}/applications/ - - cd ${D}/${prefix}/games - for prog in *; do - if [ -x $prog ]; then - # Convert prog to Title Case - firstchar=${prog:0:1} - title=`echo "$firstchar" | tr a-z A-Z` - title="$title${prog:1}" - echo "making ${D}/${datadir}/applications/$prog.desktop" - cat < ${D}/${datadir}/applications/$prog.desktop -[Desktop Entry] -Encoding=UTF-8 -Name=$title -Exec=${prefix}/games/$prog -Icon=applications-games -Terminal=false -Type=Application -Categories=Game; -StartupNotify=true -SingleInstance=true -STOP - fi - done -} diff --git a/meta/packages/puzzles/puzzles_r7593.bb b/meta/packages/puzzles/puzzles_r7593.bb new file mode 100644 index 000000000..bcb19bae2 --- /dev/null +++ b/meta/packages/puzzles/puzzles_r7593.bb @@ -0,0 +1,56 @@ + +DEPENDS = "gtk+" +PR = "r4" +MOD_PV = "${@bb.data.getVar('PV',d,1)[1:]}" + +#SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz" +SRC_URI = "svn://ixion.tartarus.org/main;module=puzzles;rev=${MOD_PV} \ + file://makedist_hack.patch;patch=1" + +S = "${WORKDIR}/${PN}" + +do_configure () { + ./makedist.sh ${MOD_PV} +} + +do_compile_prepend = " \ + export XLDFLAGS='${LDFLAGS} `${STAGING_BINDIR_NATIVE}/pkg-config gtk+-2.0 --libs`'; \ + export CFLAGS='${CFLAGS} -I./ `${STAGING_BINDIR_NATIVE}/pkg-config gtk+-2.0 --cflags`'; " + +FILES_${PN} = "${prefix}/games/* ${datadir}/applications/*" +FILES_${PN}-dbg += "${prefix}/games/.debug" + +do_install () { + rm -rf ${D}/* + export prefix=${D} + export DESTDIR=${D} + install -d ${D}/${prefix}/ + install -d ${D}/${prefix}/games/ + oe_runmake install + + install -d ${D}/${datadir}/ + install -d ${D}/${datadir}/applications/ + + cd ${D}/${prefix}/games + for prog in *; do + if [ -x $prog ]; then + # Convert prog to Title Case + firstchar=${prog:0:1} + title=`echo "$firstchar" | tr a-z A-Z` + title="$title${prog:1}" + echo "making ${D}/${datadir}/applications/$prog.desktop" + cat < ${D}/${datadir}/applications/$prog.desktop +[Desktop Entry] +Encoding=UTF-8 +Name=$title +Exec=${prefix}/games/$prog +Icon=applications-games +Terminal=false +Type=Application +Categories=Game; +StartupNotify=true +SingleInstance=true +STOP + fi + done +} -- cgit v1.2.3