summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMatt Reimer <mattjreimer@gmail.com>2006-11-14 23:09:05 +0000
committerMatt Reimer <mattjreimer@gmail.com>2006-11-14 23:09:05 +0000
commit5d16aa12d077d2bd9182f20c6217cc751063bcb3 (patch)
tree40898dbcda83d0cd86f74d647a3b439748ea3af8 /packages
parent188283505fbdd128396b366912974fc79d407d83 (diff)
parent0b152ed05c0cd22f440c00e44357b95d470ccbf0 (diff)
merge of '00ee303d8d48b4b6a0a7480dea928c8d02252f80'
and '376cbb96ee80de7e5cc9e7ceff199d6f09fe42d8'
Diffstat (limited to 'packages')
-rw-r--r--packages/git/git-native_snapshot.bb (renamed from packages/git/git-native.bb)2
-rw-r--r--packages/git/git_snapshot.bb (renamed from packages/git/git.bb)10
-rw-r--r--packages/libmimedir/libmimedir_0.4.0-20060804.bb2
3 files changed, 10 insertions, 4 deletions
diff --git a/packages/git/git-native.bb b/packages/git/git-native_snapshot.bb
index 67ea960819..84e6f96686 100644
--- a/packages/git/git-native.bb
+++ b/packages/git/git-native_snapshot.bb
@@ -1,4 +1,4 @@
-require git.bb
+require git_snapshot.bb
inherit native
DEPENDS = "expat-native openssl-native curl-native"
diff --git a/packages/git/git.bb b/packages/git/git_snapshot.bb
index 7d5c2cbc35..443fd299f6 100644
--- a/packages/git/git.bb
+++ b/packages/git/git_snapshot.bb
@@ -3,11 +3,17 @@ LICENSE = "GPL"
DESCRIPTION = "The git revision control system used by the Linux kernel developers"
DEPENDS = "openssl curl"
-PKGDATE = "${@time.strftime('%Y-%m-%d',time.gmtime())}"
+def get_git_pkgdate(d):
+ import bb
+ srcdate = bb.data.getVar('SRCDATE', d, 1)
+ return "-".join([srcdate[0:4], srcdate[4:6], srcdate[6:8]])
+
+PKGDATE = "${@get_git_pkgdate(d)}"
SRC_URI = "http://www.codemonkey.org.uk/projects/git-snapshots/git/git-${PKGDATE}.tar.gz"
+PV = "1.4.3.5+snapshot${PKGDATE}"
-S = "${WORKDIR}/git-snapshot-${DATE}"
+S = "${WORKDIR}/git-${PKGDATE}"
FILES_${PN} += "${datadir}/git-core"
diff --git a/packages/libmimedir/libmimedir_0.4.0-20060804.bb b/packages/libmimedir/libmimedir_0.4.0-20060804.bb
index e28bd6a4e8..298b90ea70 100644
--- a/packages/libmimedir/libmimedir_0.4.0-20060804.bb
+++ b/packages/libmimedir/libmimedir_0.4.0-20060804.bb
@@ -11,7 +11,7 @@ PV = "0.4.0+cvs${SRCDATE}"
SRC_URI = "cvs://anonymous@anoncvs.gnome.org/cvs/gnome;module=libmimedir \
file://mimedir-update.patch;patch=1 \
file://mimedir-write-sequence.patch;patch=1;pnum=0 \
- file://gslist-fix.patch;patch=1"
+ file://gslist-fix.patch;patch=1;maxdate=20060814"
S = "${WORKDIR}/libmimedir"