|
楼主 |
发表于 2009-12-7 16:29:57
|
显示全部楼层
我届是新发现的,还不大会用,默认生成的tgz包,我用它编译了moc2.4.4以及MOC所需的库。安装后能用。有需要的可以试下。
例如:bpkg moc-2.4.4.bz2
剩下的他就自动运行。和src2pkg差不多。不同的是他输出config,make信息。
大概看了下帮助,E文不好,大概是支持arch,rpmdeb等等,功能不弱哦。如下:- bash-3.1$ bpkg --help
- bpkg [<filename>] [<bpkg-options>] [<configure-options>]
- <filename> will be automatically extracted before packaging continues. If not
- given, packaging is performed from the current directory.
- Any options not recognised by bpkg will be passed on to ./configure if the
- package is autoconf based.
- Available <bpkg-options> are:
- --help
- This help.
- --detect-os
- Display the O/S that bpkg thinks you are running.
- --version
- Show bpkg version.
- --packager=arch|slackware|rpm|deb|gentoo|redhat|suse|auto
- Generate packages using the specified packaging system. 'auto' is the
- default.
- --package=<name>-<version>
- Override package name and version auto-detection. By default this is
- obtained by extracting the package name and version from the package
- source directory name.
- --unique
- Pass options to autoconf to install into configuration and data directories
- unique to this package. (ie. --sysconfdir=/etc/<package>,
- --localstatedir=/var/state/<package> and --datadir=/usr/share/<package>).
- The base directories are used if this option is not given.
- --skip-build
- Do not perform the build phase of bpkg.
- --build-with=<command>
- Use the given command to build, rather than the default 'make'.
- --install-with=<command>
- Use the given command to install, rather than the default 'make install'.
- --md5=<md5sum>
- Verify that the source file has the given MD5 checksum.
- For further information, including examples, visit http://swapoff.org/bpkg
复制代码 |
|