Changeset 265

Show
Ignore:
Timestamp:
03/23/09 16:58:07 (3 years ago)
Author:
max_posedon
Message:

forgotten commit

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • openmoko/trunk/openmoko-target/eclass/shr.eclass

    r195 r265  
    66 
    77EGIT_REPO_URI="http://shr.bearstech.com/repo/shr.git" 
    8 EGIT_TREE="10c44ec2d1a86efc2670671655715707814ccdaf" 
    98EGIT_PROJECT="shr" 
     9case "${PV}" in 
     10        20090308) 
     11                EGIT_TREE="10c44ec2d1a86efc2670671655715707814ccdaf" 
     12                ;; 
     13        99999999) 
     14                ;; 
     15        *) 
     16                die "Unsupported version" 
     17                ;; 
     18esac 
    1019 
    1120shr_src_unpack() { 
    1221        git_src_unpack 
    1322        cd "${S}/${PROJECT_NAME}" 
     23        if grep -q AM_GNU_GETTEXT_VERSION configure.ac; then 
     24                autopoint -f 
     25        fi 
    1426        eautoreconf || die "autoreconf failed" 
    15         glib-gettextize --force --copy || die "glib-gettextize failed" 
     27        glib-gettextize --force --copy || die "glib-gettextize failed" 
    1628} 
    1729 
    1830shr_src_compile() { 
    1931        cd "${S}/${PROJECT_NAME}" 
    20         econf ${EXTRA_ECONF_OPTS}|| die "econf failed" 
     32        econf ${SHR_EXTRA_ECONF_OPTS} || die "econf failed" 
    2133        emake || die "emake failed" 
    2234} 
    2335 
    24 shr_src_install () { 
     36shr_src_install() { 
    2537        cd "${S}/${PROJECT_NAME}" 
    2638        emake DESTDIR="${D}" install || die "emake install failed"