Date: Thu, 28 Jul 2016 21:02:55 +0100 From: Andrew Wood <andrewjameswood@ymail.com> To: freebsd-questions@freebsd.org Subject: Re: Creating a pkg Message-ID: <889eda92-91ce-ecd0-3426-97b688093102@ymail.com> In-Reply-To: <ab6bf712-f7ff-f5c6-3dc8-3b3980a3e33d@freebsd.org> References: <981a28ca-09a4-995b-fee3-55d4a6dc5fb3@ymail.com> <ab6bf712-f7ff-f5c6-3dc8-3b3980a3e33d@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28/07/16 17:47, Matthew Seaman wrote: > Try: > > version: "0.3"; Thanks Matthew, quoting the version number works, for some reason it insists on that even though everything else can be unquoted. >> 2. As my program is Python & shell scripts and is therefore platform >> independent can I use arch: all ? > That would be: > > abi = "FreeBSD:10:*"; > arch = "freebsd:10:*"; > > (assuming you're running FreeBSD 10.x) You will need both abi and arch > settings, although for a pure Python package they don't really add much > value to the package. > Does that mean I can't create an all architecture package that will work on FreeBSD 11 when it comes out, I would have to create a separate package for future versions of FreeBSD? Can I also clarify how I specify which files to put in the package and where I want them put on the target system during installation? Can I package up everything in a directory with dir: {/path: 'sha256hash'}; ? That only takes one path though, is that the target path or the local path on my machine? How does the prefix value fit in? What if I want to put files in several places? Thanks Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?889eda92-91ce-ecd0-3426-97b688093102>