* s/cpu/CPU/
[dragonfly.git] / usr.sbin / pkg_install / create / create.h
1 /*
2  * FreeBSD install - a package for the installation and maintainance
3  * of non-core utilities.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  * 1. Redistributions of source code must retain the above copyright
9  *    notice, this list of conditions and the following disclaimer.
10  * 2. Redistributions in binary form must reproduce the above copyright
11  *    notice, this list of conditions and the following disclaimer in the
12  *    documentation and/or other materials provided with the distribution.
13  *
14  * Jordan K. Hubbard
15  * 18 July 1993
16  *
17  * Include and define various things wanted by the create command.
18  *
19  * $FreeBSD: src/usr.sbin/pkg_install/create/create.h,v 1.24 2004/06/29 19:06:41 eik Exp $
20  * $DragonFly: src/usr.sbin/pkg_install/create/Attic/create.h,v 1.3 2004/07/30 04:46:12 dillon Exp $
21  */
22
23 #ifndef _INST_CREATE_H_INCLUDE
24 #define _INST_CREATE_H_INCLUDE
25
26 extern char     *Prefix;
27 extern char     *Comment;
28 extern char     *Desc;
29 extern char     *Display;
30 extern char     *Install;
31 extern char     *PostInstall;
32 extern char     *DeInstall;
33 extern char     *PostDeInstall;
34 extern char     *Contents;
35 extern char     *Require;
36 extern char     *SrcDir;
37 extern char     *BaseDir;
38 extern char     *ExcludeFrom;
39 extern char     *Mtree;
40 extern char     *Pkgdeps;
41 extern char     *Conflicts;
42 extern char     *Origin;
43 extern char     *InstalledPkg;
44 extern char     PlayPen[];
45 extern int      Dereference;
46 extern int      PlistOnly;
47
48 enum zipper {NONE, GZIP, BZIP, BZIP2 };
49 extern enum zipper      Zipper;
50
51 void            add_cksum(Package *, PackingList, const char *);
52 void            check_list(const char *, Package *);
53 void            copy_plist(const char *, Package *);
54
55 #endif  /* _INST_CREATE_H_INCLUDE */