summaryrefslogtreecommitdiff
path: root/thunderbird/Pkgfile
blob: ab9e73ff2e61d92da516722c193f0af301159d82 (plain)
    1 # Description: Thunderbird EMail client from the Mozilla project
    2 # Maintainer: Matt Housh, jaeger at morpheus dot net
    3 # URL: http://www.mozilla.org/projects/thunderbird/
    4 # Depends on: libidl, gtk, libjpeg, libpng, zlib, expat
    5 
    6 name=thunderbird
    7 version=1.5
    8 release=1
    9 source=(http://ftp.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version-source.tar.bz2 \
   10 	mozconfig)
   11 
   12 build() {
   13 	cd mozilla
   14 
   15 	# configure
   16 	sed -e "s/#CFLAGS#/$CFLAGS/" $SRC/mozconfig > .mozconfig
   17 
   18 	# build it
   19 	make -f client.mk build_all
   20 
   21 	# put everything in the right place
   22 	mkdir -p $PKG/usr/lib/thunderbird $PKG/usr/bin
   23 	cp -rL --no-preserve=links dist/bin/* $PKG/usr/lib/thunderbird/
   24 	(cd $PKG/usr/bin && ln -s ../lib/thunderbird/thunderbird thunderbird)
   25 
   26 	# register components
   27 	cd $PKG/usr/lib/thunderbird
   28 	MOZILLA_FIVE_HOME=$PWD LD_LIBRARY_PATH=$PWD ./regxpcom
   29 
   30 	# fix ownership
   31 	chown -R root:root $PKG
   32 }

Generated by cgit