Package: aptsh Version: 0.0.7 Revision: 1005 Depends: apt-shlibs (>= 0.5.4-1055), readline5-shlibs (>= 5.0-1006) BuildDepends: apt-dev (>= 0.5.4-1055), apt, readline5 (>= 5.0-1006) Source: http://de.archive.ubuntu.com/ubuntu/pool/universe/a/%n/%n_%v+nmu1build1.tar.gz Source-MD5: 43b867aeb1a10bf70cdd30576e9580d4 # SetCXXFLAGS: -Os SourceDirectory: %n-%v+nmu1 ConfigureParams: --mandir=%p/share/man --libexecdir=%p/bin --sysconfdir=%p/etc --with-extra-includes=%p/include --with-extra-libraries=%p/lib --disable-dependency-tracking SHD=%p/bin PatchScript: echo >> src/completions.h 'blafarz' && perl -pi -e 's,blafarz,#ifndef HAVE_STRNDUP\nstatic char\*\nstrndup \(const char \*src\, size_t n\)\n\{\n size_t i;\n char \*dst;\n\n if \(src == NULL\)\n return NULL;\n\n dst = \(char*\) malloc \(n + 1\);\n if \(dst != NULL\) \{\n for \(i = 0; i \< n \&\& src\[i\]; i++\)\n dst\[i\] = src\[i\];\n dst\[i\] = '0';\n \}\n\n return dst;\n\}\n#endif,' src/completions.h && perl -pi -e "s,/etc,%p/etc,g;s,/lib/aptsh,/bin,g" configure InstallScript: make -j1 install DESTDIR=%d DocFiles: AUTHORS COPYING ChangeLog HOWTO NEWS README License: GPL Homepage: http://packages.ubuntu.com/karmic/aptsh Maintainer: Jack Fink GCC: 4.0 Description: Apt interactive shell DescDetail: << Aptsh helps in managing packages by providing nice pseudo-shell, with commands completion and simplified access to Apt's commands. Additional features, like command-queue and orphaned packages searcher are also included. <<