-# This is the debhelper compatibility version to use.
-export DH_COMPAT=4
-
-pkg := uffi
-debpkg := cl-uffi
-prefix := debian/$(debpkg)
-
-INSTALL := install
-INSTALLFLAGS := -g root -o root -m 0644
-INSTALLDIRFLAGS := -d -g root -o root -m 0755
-
-SOURCEDIR := $(prefix)/usr/share/common-lisp/source/${pkg}
-DOCDIR := $(prefix)/usr/share/doc/${debpkg}
-
-UPSTREAM_VER := $(shell sed -n -e "s/${debpkg} (\(.*\)-[0-9.]).*/\1/p" < debian/changelog |head -1)
-
-clc-source := $(SOURCEDIR)-$(UPSTREAM_VER)
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
-
- touch configure-stamp
+clc-source := usr/share/common-lisp/source
+clc-systems := usr/share/common-lisp/systems
+clc-files := $(clc-source)/$(pkg)
+clc-tests := $(clc-source)/$(pkg-tests)
+lib-dir := usr/lib/uffi