[haiku-commits] Re: haiku: hrev45188 - src/bin/unrar

  • From: scottmc <scottmc2@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 22 Jan 2013 07:39:04 -0800

>
> +# UnRAR
> +if [ IsOptionalHaikuImagePackageAdded UnRAR ] {
> +       if $(TARGET_ARCH) = x86 {
> +               if $(HAIKU_GCC_VERSION[1]) >= 4 {
> +                       InstallOptionalHaikuImagePackage
> +                               UnRAR-4.2.4-x86-gcc4-2013-01-21.zip
> +                               :
> $(baseURL)/UnRAR-4.2.4-x86-gcc4-2013-01-21.zip
> +                               : : true ;
> +               } else {
> +                       InstallOptionalHaikuImagePackage
> +                               UnRAR-4.2.4-x86-gcc2-2013-01-21.zip
> +                               :
> $(baseURL)/UnRAR-4.2.4-x86-gcc2-2013-01-21.zip
> +                               : : true ;
> +               }
> +       } else if $(TARGET_ARCH) = x86_64 {
> +               InstallOptionalHaikuImagePackage
> +                       UnRAR-4.2.4-x86_64-2013-01-21.zip
> +                       : $(baseURL)/UnRAR-4.2.4-x86_64-2013-01-21.zip
> +                       : : true ;
> +       } else {
> +               Echo "No optional package UnRAR available for
> $(TARGET_ARCH)" ;
> +       }
> +}
>

Shouldn't there be some expander rules for unrar here?  Or are they
somewhere else still?

-scottmc

Other related posts: