summaryrefslogtreecommitdiffstats
path: root/src/at/local.at
diff options
context:
space:
mode:
Diffstat (limited to 'src/at/local.at')
-rw-r--r--src/at/local.at26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/at/local.at b/src/at/local.at
index a49311c..8f5fc88 100644
--- a/src/at/local.at
+++ b/src/at/local.at
@@ -52,6 +52,32 @@ m4_define([DPKG_FILE_SIZE], [
$PERL -E 'say -s shift' "$1" dnl
])
+# DPKG_AR()
+m4_define([DPKG_AR], [dnl
+ "$top_srcdir/build-aux/run-script" scripts/dpkg-ar.pl dnl
+])
+
+# DPKG_AR_GEN()
+m4_define([DPKG_AR_GEN], [
+ DPKG_AR --create $1 $2
+])
+
+# DPKG_AR_LIST()
+m4_define([DPKG_AR_LIST], [
+ DPKG_AR --list $1
+])
+
+# DPKG_AR_EXTRACT()
+m4_define([DPKG_AR_EXTRACT], [
+ DPKG_AR --extract $1 $2
+])
+
+# DPKG_CHECK_DIFF($file_out, $file_exp)
+m4_define([DPKG_CHECK_DIFF], [
+ cp "$2" expout
+ AT_CHECK([cat "$1"], [], [expout])
+])
+
# DPKG_GEN_FSYS()
m4_define([DPKG_GEN_DB], [
mkdir -p DPKG_DIR_INST