1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
27 PKG_NAME = build-essentials
28 PKG_VER = $(DISTRO_VERSION)
32 PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
33 PKG_GROUP = Development/Tools
34 PKG_URL = http://www.ipfire.org
36 PKG_SUMMARY = Elementary scripts for the build system.
39 PKG_DEPS += bash bzip2 coreutils cpio diffutils file findutils gawk \
40 grep gzip make patch sed system-release tar which xz
42 define PKG_DESCRIPTION
43 This package contains elementary scripts for the pakfire build system.
46 STAGE_PREPARE = # Nothing to do here
47 STAGE_BUILD = # Nothing to do here
50 # Install the quality-agent and buildsystem header files.
51 -mkdir -pv $(BUILDROOT)/usr/{,s}bin
52 -mkdir -pv $(BUILDROOT)/usr/lib/buildsystem{,-tools}
53 -mkdir -pv $(BUILDROOT)/usr/lib/quality-agent
55 cp -vf $(DIR_SOURCE)/buildsystem/* $(BUILDROOT)/usr/lib/buildsystem
56 cp -vf $(DIR_SOURCE)/buildsystem-tools/* $(BUILDROOT)/usr/lib/buildsystem-tools
58 cp -vf $(DIR_SOURCE)/quality-agent/quality-agent $(BUILDROOT)/usr/sbin/
59 cp -vrf $(DIR_SOURCE)/quality-agent/quality-agent.d/* \
60 $(BUILDROOT)/usr/lib/quality-agent/
62 -mkdir -pv $(BUILDROOT)/etc/profile.d
63 cp -vf $(DIR_SOURCE)/buildsystem.sh $(BUILDROOT)/etc/profile.d/
65 # Create symlink to chroot-shell
66 ln -svf ../lib/buildsystem-tools/chroot-shell \
67 $(BUILDROOT)/usr/bin/chroot-shell