aboutsummaryrefslogtreecommitdiffstats
path: root/packages/syslog-ng
AgeCommit message (Expand)Author
2006-11-29Introduce STAGING_BINDIR_CROSS and STAGING_BINDIR_NATIVE as discussed on the ...Richard Purdie
2006-10-10Remove MAINTAINER fields from recipes, add MAINTAINER file to replace them.Koen Kooi
2006-09-11syslog-ng: Upstream upgrade to 1.6.11Oyvind Repvik
2006-08-26syslog-ng: Add modified syslog-ng.conf which enables kernel logging by defaultRichard Purdie
2005-09-13syslog-ng: Add flex dependencyOyvind Repvik
2005-08-25Add the initscript itself. How did I manage to miss this? *slap*Oyvind Repvik
2005-08-25Bump PR *sigh*Oyvind Repvik
2005-08-25Add -f to update-rc.dOyvind Repvik
2005-08-25Forgot INITSCRIPT_PARAMS. Duh.Oyvind Repvik
2005-08-25Add initscript. Remove/reinstall busybox syslog on install/remove. Should wor...Oyvind Repvik
2005-08-20Bump PR (sigh)Oyvind Repvik
2005-08-20Add libol dependencyOyvind Repvik
2005-08-20Add default configOyvind Repvik
2005-08-20Add syslog-ng (no config yet), and libol (required for syslog-ng)Oyvind Repvik
km/cft-patchelf'>dankm/cft-patchelf OpenEmbedded Core user contribution treesGrokmirror user
summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pigz/pigz_2.6.bb
blob: 3566e18b7e729ca03ef4da4215dd0eab69ab54ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
SUMMARY = "A parallel implementation of gzip"
DESCRIPTION = "pigz, which stands for parallel implementation of gzip, is a \
fully functional replacement for gzip that exploits multiple processors and \
multiple cores to the hilt when compressing data. pigz was written by Mark \
Adler, and uses the zlib and pthread libraries."
HOMEPAGE = "http://zlib.net/pigz/"
SECTION = "console/utils"
LICENSE = "Zlib & Apache-2.0"
LIC_FILES_CHKSUM = "file://pigz.c;md5=9ae6dee8ceba9610596ed0ada493d142;beginline=7;endline=21"

SRC_URI = "http://zlib.net/${BPN}/fossils/${BP}.tar.gz"
SRC_URI[sha256sum] = "2eed7b0d7449d1d70903f2a62cd6005d262eb3a8c9e98687bc8cbb5809db2a7d"
PROVIDES:class-native += "gzip-native"

# Point this at the homepage in case /fossils/ isn't updated
UPSTREAM_CHECK_URI = "http://zlib.net/${BPN}/"
UPSTREAM_CHECK_REGEX = "pigz-(?P<pver>.*)\.tar"

DEPENDS = "zlib"

EXTRA_OEMAKE = "-e MAKEFLAGS="

inherit update-alternatives

do_install() {
	# Install files into /bin (FHS), which is typical place for gzip
	install -d ${D}${base_bindir}
	install ${B}/pigz ${D}${base_bindir}/pigz
	ln -nsf pigz ${D}${base_bindir}/unpigz
	ln -nsf pigz ${D}${base_bindir}/pigzcat
}

do_install:append:class-native() {
	install -d ${D}${bindir}
	install ${B}/pigz ${D}${bindir}/gzip
	ln -nsf gzip ${D}${bindir}/gunzip
	ln -nsf gzip ${D}${bindir}/zcat
}

ALTERNATIVE_PRIORITY = "110"
ALTERNATIVE:${PN} = "gunzip gzip zcat"
ALTERNATIVE:${PN}:class-nativesdk = ""
ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"
ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip"
ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat"
ALTERNATIVE_TARGET = "${base_bindir}/pigz"

BBCLASSEXTEND = "native nativesdk"