Two new utilities in C have been created:
- xbps-digest: shows the SHA256 hash for a file.
- xbps-pkgdb: handles dependency stuff via proplib.
Templates should use now $build_depends and change $checksum to be
a SHA256 hash. That means that I'm currently using xbps on Linux and
I lost interest on NetBSD, perhaps I'll add support for it in the
future.
Only git and its dependencies have been converted, as well as vim.
--HG--
extra : convert_revision : 53a7e030ca6b6d02bb6cd3e51d42b7d5702c1b57
Each template now needs to use $distfiles that accepts the full
URL to download the distfile and old $extract_sufx is now merged
on it, but this must be separated by the '@' character. Example:
distfiles="http://www.foo.org/blah-6.2@.tar.gzhttp://www.foo.org/blob-1.0@.tar.bz2"
If distfiles contains multiple files defined, $wrksrc is now
mandatory.
--HG--
extra : convert_revision : 1c3fa35f148af8323ce3cbcf5732104960de6bc4
how packages are found.
First: I removed all these *-deps.db files and only a single file
is used now "build-depends.db"; it's smaller and will be easier
to handle in the future... when "run-depends.db" is added :-)
Second: there's no need to specify version of package anymore;
before you had to do:
$ pkgfs.sh install git-1.6.0.2
now you only do:
$ pkgfs.sh install git
This will read the variables located at PKGFS_TEMPLATESDIR/git.tmpl
and will the install the version that is there.
--HG--
extra : convert_revision : 9e3e5d70965a69c76f59e322b7c7b674d627af52
2008-10-04 06:29:49 +02:00
Renamed from templates/xstow-0.6.1-unstable.tmpl (Browse further)