3 PACKAGE_NAME
=libapache2-mod-crccache
13 make
-C crccache
clean
15 rm -rf
$(PKG_BUILDDIR
)
18 git archive
--format
=tar --prefix=$(PACKAGE_NAME
)-$(VERSION
)/ HEAD Makefile crccache ccan apache
/modules
/cache | gzip
> $(PACKAGE_NAME
)_
$(VERSION
).orig.
tar.gz
21 # first unpack the source and copy in the deb dir
22 rm -rf
$(PKG_BUILDDIR
)
24 cp
$(PACKAGE_NAME
)_
$(VERSION
).orig.
tar.gz
$(PKG_BUILDDIR
)
25 cd
$(PKG_BUILDDIR
); tar -xzf
$(PACKAGE_NAME
)_
$(VERSION
).orig.
tar.gz
26 cp
-r debian
$(PKG_BUILDDIR
)/$(PACKAGE_NAME
)-$(VERSION
)
28 # then we need to build the deb source archive
29 cd
$(PKG_BUILDDIR
)/$(PACKAGE_NAME
)-$(VERSION
); debuild
-S
-uc
-us
32 cd
$(PKG_BUILDDIR
)/$(PACKAGE_NAME
)-$(VERSION
); debuild
-uc
-us
35 echo INSTALL
$(PREFIX
)