wok-current annotate firefox-dev/receipt @ rev 24771

amule: modified MuleDebug.cpp for libbfd-2.37
author Hans-G?nter Theisgen
date Sat Mar 19 15:22:53 2022 +0100 (2022-03-19)
parents 1067bb7f1e24
children 73f36875e5a7
rev   line source
jozee@2974 1 # SliTaz package receipt.
jozee@2974 2
jozee@2974 3 PACKAGE="firefox-dev"
domcox@15535 4 VERSION="17.0.11esr"
jozee@2974 5 CATEGORY="development"
jozee@2974 6 SHORT_DESC="firefox devel files"
jozee@3126 7 MAINTAINER="jozee@slitaz.org"
pascal@15215 8 LICENSE="MPL2"
pascal@15215 9 WANTED="firefox"
pascal@15215 10 WEB_SITE="http://www.mozilla.org/"
pascal@15215 11
slaxemulator@11324 12 DEPENDS="alsa-lib sqlite cairo dbus-glib pango atk \
pascal@6407 13 libgio xorg-libXt xorg-libXinerama \
pascal@5001 14 xorg-libXcursor xorg-libXcomposite xorg-libXext xorg-libXdamage libxcb \
pascal@15597 15 xorg-libSM xorg-libICE pkg-config"
jozee@2974 16
jozee@2974 17 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2974 18 genpkg_rules()
jozee@2974 19 {
domcox@14212 20 printf "Installing include files.."
domcox@14212 21 mkdir -p $fs/usr/include/$WANTED-$VERSION &&
domcox@14212 22 cp -rL $src/obj-firefox/dist/include/* $fs/usr/include/$WANTED-$VERSION
domcox@14212 23 status
pankso@3818 24
domcox@14212 25 printf "Installing libs files.."
domcox@14212 26 mkdir -p $fs/usr/lib/$WANTED-devel/sdk/bin/ply &&
domcox@14212 27 cp -rL $src/obj-firefox/dist/sdk/bin/*.py \
domcox@14212 28 $fs/usr/lib/$WANTED-devel/sdk/bin &&
domcox@14212 29 cp -rL $src/obj-firefox/dist/sdk/bin/ply/*.py \
domcox@14212 30 $fs/usr/lib/$WANTED-devel/sdk/bin/ply &&
domcox@14212 31 mkdir -p $fs/usr/lib/$WANTED-devel/sdk/lib &&
domcox@14212 32 cp -rL $src/obj-firefox/dist/sdk/lib/* \
domcox@14212 33 $fs/usr/lib/$WANTED-devel/sdk/lib
domcox@14212 34 status
domcox@14212 35
domcox@14212 36 # printf "Installing npapi files.."
domcox@14212 37 # mkdir -v $fs/usr/include/$WANTED-$VERSION/npapi &&
domcox@14212 38 # cp -a $src/dom/plugins/base/*.h $fs/usr/include/$WANTED-$VERSION/npapi
domcox@14212 39 # status
pascal@4525 40
jozee@3126 41 # /usr/share/idl folder should also be in firefox-dev
domcox@14212 42 printf "Installing idl files.."
domcox@14212 43 mkdir -p $fs/usr/share/$WANTED-$VERSION/idl &&
domcox@14212 44 cp -rL $src/obj-firefox/dist/idl/* $fs/usr/share/$WANTED-$VERSION/idl
domcox@14212 45 status
pankso@3818 46
jozee@3126 47 # copy missing *.pc files
domcox@14212 48 printf "Installing pkgconfig files.."
domcox@14212 49 mkdir -p $fs/usr/lib/pkgconfig &&
domcox@14212 50 cp -a $stuff/*.pc $fs/usr/lib/pkgconfig &&
slaxemulator@11324 51 # fix version
domcox@14212 52 sed -i "s/VERSION/$VERSION/" $fs/usr/lib/pkgconfig/*
domcox@14212 53 status
jozee@2974 54 }
pascal@6459 55
pascal@6459 56 # Pre and post install commands for Tazpkg.
pascal@6459 57 post_install()
pascal@6459 58 {
pascal@6459 59 for i in usr/share/idl/firefox- usr/include/firefox- \
slaxemulator@11324 60 usr/lib/firefox-devel- ; do
pascal@18730 61 for j in $(ls -d "$1"/$i* 2>/dev/null); do
pascal@6459 62 [ "${j##*-}" = "$VERSION" ] && continue
pascal@18730 63 [ ! -d "$j" ] || rm -rf "$j"
pascal@6459 64 done
pascal@6459 65 done
pascal@6459 66 }