[Buildroot] [PATCH] package: add pacman 4.2.1
Baruch Siach
baruch at tkos.co.il
Fri Mar 20 06:15:53 UTC 2015
Hi Steven,
On Wed, Mar 18, 2015 at 08:48:07PM -0700, Steven Noonan wrote:
> diff --git a/package/pacman/Config.in b/package/pacman/Config.in
> new file mode 100644
> index 0000000..9c4ca66
> --- /dev/null
> +++ b/package/pacman/Config.in
> @@ -0,0 +1,18 @@
> +config BR2_PACKAGE_PACMAN
> + bool "pacman"
> + depends on BR2_TOOLCHAIN_USES_GLIBC
Why? Please explain in the commit log.
> + select BR2_PACKAGE_LIBGPGME
> + select BR2_PACKAGE_LIBARCHIVE
> + select BR2_PACKAGE_LIBCURL
> + select BR2_PACKAGE_OPENSSL
Please propagate dependencies.
> + help
> + Pacman is the package manager used by the Arch distribution. It is a
> + frontend for the ALPM (Arch Linux Package Management) library.
> +
> + Pacman does not strive to "do everything." It will add, remove and
> + upgrade packages in the system, and it will allow you to query the
> + package database for installed packages, files and owners. It also
> + attempts to handle dependencies automatically and can download
> + packages from a remote server. Arch packages are simple archives, with
> + .pkg.tar.gz extension for binary packages and .src.tar.gz for source
> + packages.
> diff --git a/package/pacman/pacman.mk b/package/pacman/pacman.mk
> new file mode 100644
> index 0000000..e979adb
> --- /dev/null
> +++ b/package/pacman/pacman.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# pacman
> +#
> +################################################################################
> +
> +PACMAN_VERSION = 4.2.1
> +PACMAN_SITE = https://sources.archlinux.org/other/pacman
> +PACMAN_SOURCES = pacman-$(PACMAN_VERSION).tar.gz
Default.
> +PACMAN_DEPENDENCIES = glibc libarchive libcurl libgpgme openssl
No need to explicitly depend on 'glibc'. glibc is part of the toolchain that
is an implicit dependency of everything.
> +PACMAN_LICENSE = GPLv2
> +PACMAN_LICENSE_FILES = COPYING
> +
> +$(eval $(autotools-package))
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the buildroot
mailing list