[Frugalware-devel] [PATCH 9/9] pk2cmd-1.20-1-x86_64

Devil505 devil505linux at gmail.com
Sat Nov 7 10:59:29 CET 2009


On Mon, Nov 2, 2009 at 6:32 AM, Laszlo Papp <djszapi2 at gmail.com> wrote:
> * new package
> ---
>  source/devel-extra/pk2cmd/FrugalBuild |   25 +++++++++++++++++++++++++
>  1 files changed, 25 insertions(+), 0 deletions(-)
>  create mode 100644 source/devel-extra/pk2cmd/FrugalBuild
>
> diff --git a/source/devel-extra/pk2cmd/FrugalBuild b/source/devel-extra/pk2cmd/FrugalBuild
> new file mode 100644
> index 0000000..1f5c353
> --- /dev/null
> +++ b/source/devel-extra/pk2cmd/FrugalBuild
> @@ -0,0 +1,25 @@
> +# Compiling Time: 0.01 SBU
> +# Maintainer: Laszlo Papp <djszapi at archlinux.us>
> +
> +pkgname=pk2cmd
> +pkgver=1.20
> +pkgrel=1
> +pkgdesc="Official Microchip Pickit2 programmer software"
> +url="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023805"
> +license="GPL"
> +depends=('libusb')
> +groups=('devel-extra')
> +archs=('i686' 'x86_64')
> +up2date=$pkgver
> +source=("http://ww1.microchip.com/downloads/en/DeviceDoc/${pkgname}v${pkgver}LinuxMacSource.tar.gz")
> +sha1sums=('19e90a665caef6d993820ce6c7ace5416b656f47')
> +
> +build()
> +{
> +  Fcd ${pkgname}v${pkgver}LinuxMacSource
> +  make linux || return 1
> +  Fexerel ${pkgname} usr/bin/$pkgname
> +  Ffilerel PK2DeviceFile.dat usr/share/pk2/PK2DeviceFile.dat
> +}
> +
> +# optimization OK
> --

up2date need to be fixed
returne 1 can be replaced by Fdie
otherwise it's OK


More information about the Frugalware-devel mailing list