blob: f176eb604e5743a609dd5f5824a5c4a3d6275154 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/usr/bin/make -f
pkgdatadir = platconf-pkg-tools.data/usr/share/platconf-pkg-tools
bindir = platconf-pkg-tools.data/usr/bin
nop:
@:
build:
@:
touch $@
install: build
install -D -m 0644 src/build.mk $(pkgdatadir)/build.mk
install -D -m 0755 src/ppt-mkpkgs $(bindir)/ppt-mkpkgs
install -D -m 0755 src/ppt-rmpkgs $(bindir)/ppt-rmpkgs
install -D -m 0644 src/1/build.mk $(pkgdatadir)/1/build.mk
install -D -m 0644 src/1/ppt-mkpkgs $(pkgdatadir)/1/ppt-mkpkgs
install -D -m 0644 src/1/ppt-rmpkgs $(pkgdatadir)/1/ppt-rmpkgs
install -D -m 0644 src/2/build.mk $(pkgdatadir)/2/build.mk
install -D -m 0644 src/2/ppt-mkpkgs $(pkgdatadir)/2/ppt-mkpkgs
install -D -m 0644 src/2/ppt-rmpkgs $(pkgdatadir)/2/ppt-rmpkgs
sed 's/@PPT_VERSION@/$(OPK_SOURCE_VERSION)/' src/ppt-make \
>$(bindir)/ppt-make
chmod 0755 $(bindir)/ppt-make
|